jquery get document scrollheight code example
Example 1: jquery scrollHeight
$('#test')[0].scrollHeight
Example 2: scrollheight jquery
$('#myDiv').prop('scrollHeight')
$('#test')[0].scrollHeight
$('#myDiv').prop('scrollHeight')