Difference between document.height and window.height

Asked on August 02, 2014
What is difference between document.height and window.height?

Replied on August 02, 2014

Window height is depend upon window resolutin $(window).height returns the height of your window. Window height can’t change according page height.


But document height is depend upon page height if page height increased document height will be increased. Document height includes everything below or above. It is return document height.


Write Answer

©2024 concretepage.com | Privacy Policy | Contact Us