單項選擇題

JavaScript中用來獲取滾動條在垂直方向上距離的是()。

A.offsetTop
B.scrollTop
C.offsetLeft
D.scrollLeft

微信掃碼免費搜題