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.

Related questions

0 votes
asked Nov 20, 2020 in JQuery by sharadyadav1986
0 votes
asked Nov 17, 2020 in JQuery by rajeshsharma
...