Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get document height js

let body = document.body, html = document.documentElement, 
    height = Math.max( body.scrollHeight, body.offsetHeight,
                      html.clientHeight, html.scrollHeight, html.offsetHeight );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #document #height #js
ADD COMMENT
Topic
Name
8+5 =