yeah, try $("myContainer").scrollTop
On Nov 7, 5:10 pm, Shane McCarron <halindr...@gmail.com> 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 & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at