0 votes
in JQuery by
What is the difference between onload() and document.ready() methods?

1 Answer

0 votes
by

Body.Onload() event will be called only after the DOM and associated resources like images get loaded, but jQuery's document.the ready() event will be called once the DOM is loaded, and it does not wait for the resources such as images to be loaded.

...