Question
How is body onload() function is different from document.ready() function used in jquery?

Answers

Document.ready() function is different from body onload() function because off 2 reasons.

We can have more than one document.ready() function in a page where we can have only one 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.   Your Comment






Search
Can you Answer!!
  • Q What materials need to be laid out in preperation of surgery?
  • Q What is the microsoft .net compact framework
  • Q "deletion flag for a fl" even when we have set a deletion flag for a functional location, it allows us to install equipment in it. Our requirement is that the system should disallow it. Question:is it a standard functionality of sap?
  • Q Why are there plants having single-seeded fruits and plants having fruits with more than one seed?
  • Q Explain how neo4j stores primitive array?
  • Q Describe the Floral formula of Griseliniaceae ?
  • Q Which symbolise the State Animal of Tamilnadu?
  • Q Which is the northern most belt of Himalayas?
  • Q What are the different ways to Share a record?
  • Q Would you say Sulla was a tyrant? Or a dictator?
  • Q During what process does the amnion envelop the embryo? 1) embryonic folding 2) gastrulation 3) implantation 4) organogenesis