Given this HTML snippet:
123 相关标签:
You need to use the scrollTop property.
document.getElementById('box').scrollTop