• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

[Html] Iframe onload and the main site.

Status
Not open for further replies.

MulliGan81

Junior Member
Having following code

HTML:
<iframe id="myframe" src="..."></iframe>
 
    <script>
    document.getElementById('myframe').onload = function() {
      alert('myframe is loaded');
    };
    </script>
<iframe id="myframe" src="..."></iframe>

<script>
document.getElementById('myframe').onload = function() {
alert('myframe is loaded');
};
</script>
Is it possible that the iframe finish loading before we assign onload handler in the script?

Duplicate thread locked -- Programming Moderator Ken g6
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top