How do I get the height and width of the browser viewport without scrollbars using jQuery?
Here is what I have tried so far:
var viewportWidth = $("body").innerWidth();
var viewportHeight = $("body").innerHeight();
This solution does not take into account the browser scrollbars.