Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Is there any difference between body onload() and document.ready() function?



Is there any difference between body onload() and document.ready() function?..

Answer / chaitanya

document.ready() function is different from body onload() function for 2 reasons.

We can have more than one document.ready() function in a page where we can have only one body onload function.

document.ready() function is called as soon as DOM is loaded where body.onload() function is called when everything gets loaded on the page that includes DOM, images and all associated resources of the page.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

What is the difference between "#" and "." selector in JQuery?

0 Answers  


Explain the difference between find and children methods in jquery?

0 Answers  


How we can get the value of a radio button using jquery?

0 Answers  


How to divide a page into parts using jquery mobile? : jquery mobile

0 Answers  


What are two different version of jquery library? : jquery mobile

0 Answers  


Whether C# code behind can be called from jQuery?

0 Answers  


How to revert the most recent ‘destructive’ operation, changing the set of matched elements to its previous state using ?

0 Answers  


Can you write a jquery code to select all links inside the paragraph?

0 Answers  


Tell me which command will give a version of jquery?

0 Answers  


How do you get the text value of a selected option?

0 Answers  


Tell me an example usage of jquery mobile? : jquery mobile

0 Answers  


Can we execute/run multiple Ajax request simultaneously in jQuery? If yes, then how?

1 Answers  


Categories