Difference between document.ready and window.onload?

devquora
devquora

Posted On: Feb 22, 2018

 

The main difference is:

Document.readyWindow.onload
Event occurs once the loading of all HTML documents has finished.The event takes place once the loading of all content has been finished.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    jQuery Mobile Interview Questions

    Give a brief idea about jQuery mobile?

    It is a framework built for the development of mobile web applications that can be accessed easily and is built on short manageable coding standards...

    jQuery Mobile Interview Questions

    What is meant by the term ‘theming’ in jQuery mobile?

    jQuery Mobile gives a powerful customizable platform. Theming permits developers to customize appearances by changing different settings including color combinations and certain UI features...

    jQuery Mobile Interview Questions

    What is the need for jQuery?

    It assists in creating web applications in a manner that it can be accessed in the same way from mobile, desktop or tablet..