What is the difference between $(window).load(function() {}) and $(document).ready(function() {}) in jQuery?
$(window).load(function() {})
$(document).ready(function() {})
document.ready
window.onload
2.1m questions
2.1m answers
60 comments
57.0k users