25
rated 0 times
[
30]
[
5]
/ answers: 1 / hits: 19665
/ 15 Years ago, sat, july 18, 2009, 12:00:00
I'm unable to get the height of a page in javascript when the page is larger than the screen.
I thought this would get me the right height:
$(document).height();
but that only gets the height of the screen, same as:
$('body').height();
same as:
document.offsetHeight;
For some reason all these examples only return the height of the screen. Can somebody help?
More From » jquery