我需要JavaScript jQuery代码来查找文档的总滚动高度。
答案 0 :(得分: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.
});