-1

我需要 JavaScript jQuery 代码来查找文档的总滚动高度。

4

1 回答 1

1

试试这个

$(document).ready(function(){
var documentHeight=$('html').height();//The entire page is within HTML tag so the page height would be the height of HTML's height. It would be the size of the entire scroll too.
});
于 2012-07-06T07:39:26.927 回答