codingtcher.com
Theme Night
Home
Login

Jquery get scroll length

//jquery scrollHeight
$('#test')[0].scrollHeight

//scrollheight jquery
$('#myDiv').prop('scrollHeight')

//jquery scroll width
$('#test')[0].scrollWidth

Related Code