0 Replies - 763 Views - Last Post: 06 October 2017 - 01:17 AM

#1 Mulligan  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 06-October 17

Iframe loading and processing

Posted 06 October 2017 - 01:17 AM

Having following code

<iframe id="myframe" src="..."></iframe>

    <script>
    document.getElementById('myframe').onload = function() {
      alert('myframe is loaded');
    };
    </script>


i wonder how does the browser processes an iframes? Does it load the iframe content in the separate thread? If so is it run synchronously with the main thread?

Is This A Good Question/Topic? 0
  • +

Page 1 of 1