Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
What is difference between window.onload and onDocumentReady?
0
votes
1,350
views
What is difference between window.onload and onDocumentReady?
javascript
posted
Aug 7, 2014
by
anonymous
Share this question
Your comment on this post:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
1 Answer
+1
vote
window.onload
Occurs after all the content (images/CSS files/JS files) have been loaded.
Standard event (built-in function) in the DOM
document.ready
Occurs as soon as the DOM is loaded.
Specific to JQuery
answer
Aug 8, 2014
by
Siddhesh Athalekar
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Preview
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Similar Questions
0
votes
What is Difference between $(document).ready() vs window.onload()?
+3
votes
Is there any difference between body onload() and document.ready() function?
+1
vote
What is the difference between ViewState and SessionState in context of JavaScript?
0
votes
What is the difference between an alert box and a confirmation box?
+2
votes
What is the difference between Client side JavaScript and Server side JavaScript ?
...