Jump to content
Search Community

walemark

Members
  • Posts

    1
  • Joined

  • Last visited

walemark's Achievements

0

Reputation

  1. jQuery: onload() Vs. $.ready()? The ready event occurs after the HTML document has been loaded, while the onload event occurs later, when all content (e.g. images) also has been loaded. The key difference between $(document).ready() and $(window).load() event is that the code included inside onload function will run once the entire page(images, iframes, stylesheets,etc) are loaded whereas the $(document).ready() event fires before all images,iframes etc. are loaded, but after the whole DOM itself is ready.
×
×
  • Create New...