'scrollTop' Syntax and Note : scrollTop « Javascript Properties « JavaScript Reference

'scrollTop' Syntax and Note

Note:

Read-only properties. 
    
Syntax:
    
document.all.getElementById("elementID").scrollLeft
document.all.elementID.scrollLeft // IE only
document.all.getElementById("elementID").scrollTop
document.all.elementID.scrollTop // IE only

    

      
      








Related examples in the same category

1.'scrollTop' Example
2.'scrollTop' is applied to