MulliGan81
Junior Member
Having following code
Is it possible that the iframe finish loading before we assign onload handler in the script?
Code:
<iframe id="myframe" src="..."></iframe>
<script>
document.getElementById('myframe').onload = function() {
alert('myframe is loaded');
};
</script>