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 |
How do you install/use jquery in a project.
What is the difference between jquery and javascript?
Mention the differences between javascript and jquery.
What is the purpose of jquery?
What are the different types of selectors?
Explain the use of jquery .each() function? : jquery mobile
Explain slidetoggle() effect.
Where can we download JQuery?
Explain why there are two different version of jquery library? : jquery mobile
How can an element be checked if it contains a specific class?
How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.
What is .bind()? : jquery mobile