Solve This (? + ? + ?=30)
If 1111=R, 2222=T, 3333=E, 4444=N Then 5555=?
Guess the Hindi Muhawara from the following whatsapp Emoticons?
Sweet, Medicine, Film, Girl, City, Car, Place, Doggy all are name same, guess which word it is?
Guess me who am I, I am the first on earth, the second in heaven...
Four Question, One Answer: One River Name, One Flower Name, One Film Name, One Actress Name?
A girl is blind, deaf, dumb and uneducated too. A boy loves her. How would he propose without touching her?
Which Indian cricketer is known as "Brown Bradman"?
Which of the countries has had a prime minister whose name featured the name of his country?
Which of the gulf city was a dependency of Bombay Presidency under British rule for almost a century?
The main differences between the two are:
Body.Onload() event will be called only after the DOM and associated resources like images got loaded, but jQuery's document.ready() event will be called once the DOM is loaded i.e., it wont wait for the resources like images to get loaded. Hence, the functions in jQuery's ready event will get executed once the HTML structure is loaded without waiting for the resources.
We can have multiple document.ready() in a page but Body.Onload() event cannot.
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.
Tell me the difference for below two functions
alert("Function using Document Ready");
Forgot Your Password?
2018 © Queryhome