简体   繁体   中英

Does jQuery have something similar to YUI's getDocumentScrollTop?

Does jQuery have something similar to YUI's getDocumentScrollTop?

(reference: http://developer.yahoo.com/yui/docs/YAHOO.util.Dom.html )

$(document).scrollTop()

我给他们两个尝试了一个具有非常高的div的文档,并且它们在屏幕上的各个滚动点似乎都等效。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM