yeah, try $("myContainer").scrollTop

On Nov 7, 5:10 pm, Shane McCarron <> wrote:
> I have an element that has overflow:auto.  The contents of the element are
> updated from time to time via ajax calls.  I want to ensure that when this
> happens, if the user has scrolled down into the content, their scroll
> position stays the same even through the content is effectively
> regenerated.  Is there a way to get the scrollTop for an element?
> --
> Shane McCarron

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to