crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Difference between body.onload and document.ready in jQuery
Question Posted on 27 Jan 2021Home >> WEB >> JQuery >> Difference between body.onload and document.ready in jQuery

Difference between body.onload and document.ready in jQuery
body.onload
(1)We can use body.onload method only once in a page
(2)And this method is called once the resources of page are loaded.
(3)This method will be called once the images, css and DOM will be done.
document.ready
(1)we can use document.ready method many times in same page.
(2)This method is called once DOM is ready.
(3)This method is called once DOM is ready and will not wait till other resource are loaded.
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Difference between body.onload and document.ready in jQuery

Different method which provides effects in JQuery

Three types of selector in JQuery

Example of JQuery focus event on textbox

What is significance of jQuery.NoConflict






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap