Salesqueen Software Solution

Download Free Estimation Now Click Here
Notifications
Clear all

difference between window.onload and ondocument ready?

2 Posts
3 Users
0 Reactions
113 Views
Posts: 100
Topic starter
(@sowmiya)
Estimable Member
Joined: 2 years ago

<window.onload>and <ondocument ready>

1 Reply
Posts: 100
 Kavi
(@kavi)
Estimable Member
Joined: 2 years ago

The onload event occurs later, after all content, including pictures, has loaded, whereas the ready event occurs after the HTML document has loaded. The ready event is exclusive to jQuery, but the onload event is a common event in the DOM.

Reply
Share: