top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is difference between window.onload and onDocumentReady?

0 votes
905 views
What is difference between window.onload and onDocumentReady?
posted Aug 7, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

window.onload

  • Occurs after all the content (images/CSS files/JS files) have been loaded.
  • Standard event (built-in function) in the DOM

document.ready

  • Occurs as soon as the DOM is loaded.
  • Specific to JQuery
answer Aug 8, 2014 by Siddhesh Athalekar
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...