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