scrollheight jquery

JavaScript
document.documentElement.scrollTop || document.body.scrollTop$('#test')[0].scrollHeightSyntax
Trigger the scroll event for the selected elements:
$(selector).scroll()

Attach a function to the scroll event:
$(selector).scroll(function)$('#myDiv').prop('scrollHeight')
Source

Also in JavaScript: