Question: what is difference between window load and document ready?
Answer: The $(document). ready() is a jQuery event which occurs when the HTML document has been fully loaded, while the window. onload event occurs later, when everything including images on the page loaded. ... onload is a pure javascript event in the DOM, while the $(document).