Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Share On Stumbleupon
Contact us
Hide Buttons

Tagged: window


window vs document

Web browser is made up of hier­ar­chy of objects. At the root level we have a win­dow object. Win­dow It is the root level ele­ment in any web page. All the global vari­ables are defined…


window.onload vs document.onload

window.onload It is fired when the entire page loads, includ­ing its con­tent (images, css, scripts, etc.) $(window).load() document.onload It is fired when the DOM is ready which can be prior to images and other…