Get web page height through jQuery
How can I get the height of viewable web page of browser with jquery? I have tried $(window).height() but 开发者_StackOverflow中文版it did not return accurate result.. Thanks..
From the jQuery documentation:
$(window).height(); // returns height of browser viewport
$(document).height(); // returns height of HTML document
height=$(window).height();
加载中,请稍侯......
精彩评论