How can I get the height of viewable web page of browser with jquery? I have tried $(window).height()
but 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With