views:

74

answers:

1

Does jQuery have something similiar to YUI's getDocumentScrollTop?

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

+1  A: 
$(document).scrollTop()

I gave them both a try on a document with a really, really tall div and they seemed to be equivalent at various scroll points on the screen.

ajm