Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要 JavaScript jQuery 代码来查找文档的总滚动高度。
试试这个
$(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. });