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()
Get document size without jQuery
document.documentElement.clientWidth document.documentElement.clientHeight
And use this if you need Screen size
screen.width screen.height