Difference between document.ready and window.onload or pageLoad
Hi all, Today we are discuss one important topic related to document.ready and window.onload or pageLoad. $(document).ready() If the DOM is ready, jQuery’s document.ready() method gets called The $(document).ready() function executes when HTML document is loaded and DOM is ready. It is jQuery specific event It is cross browser compactibility It’sthe best for onetime initialization.… Read More »