Scroll Position of div with "overflow: auto"

Solution 1:

You need to use the scrollTop property.

document.getElementById('box').scrollTop