get current scroll height javascript
snippet in javascript

get current scroll height javascript

user1798

document.documentElement.scrollTop || document.body.scrollTop

get current scroll height javascript

user5175

document.documentElement.scrollTop = document.body.scrollTop = 1000;