How to get document height and width in pure javascript i.e without using jquery. I know about $(document).height() and $(document).width(), bu
$(document).height()
$(document).width()
You can try also:
document.body.offsetHeight document.body.offsetWidth