#jqueryvsjavascript
Explore tagged Tumblr posts
Text
jQuery Interview Questions and Answers: ready() vs onload()
Q01. How can you check whether an HTML page is loaded or not? Q02. What is the document.ready() function? Q03. What is (window).on("load") function? How it is different from the ready function? Q04. What is the difference between window.onload() vs. DOMContentLoaded event? Q05. What is the window.onload() function? Q06. What is the difference between $(document).ready(), window.onload() and $(window).load() methods? Q07. What is the difference between window.addEventListener() vs window.onload() function? Q08. What is the difference between window.onload and document.ready() methods? Q09. When does window.onload triggers with Lazy Loaded Images and Scripts?
2 notes
·
View notes