Go back to the main page

Getting a zero 0 with document.body.scrollHeight

 

Getting a zero ( 0 ) for document.body.scrollHeight use document.documentElement.scrollHeight