开发者

jQuery/JavaScript calculate scroll height

What is the best method/function to calculate scroll body height o开发者_如何学Gof window? Thank you


$(document).height();

That should do it (reference: http://api.jquery.com/height/)


This should give you what you are looking for:

document.body.scrollHeight
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜