We would like to know how to get Document height.
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.7.1.js'></script>
<script type='text/javascript'>
$(window).load(function(){<!--from w w w .j a v a2 s.c o m-->
console.log($(document).height());
});
</script>
</head>
<body>
</body>
</html>
The code above is rendered as follows: