I have a div with a fixed height and overflow: auto. I set the content of this div via a (prototype) ajax call. Sometimes the content is long enough to force a vertical scroll bar, sometimes it isn't. If I load content A, and it is long enough to force the scroll bar, and then I use the scroll bar to move down, and then I load Content B (which is also long enough to force a scroll bar), the previous scroll position is maintained with the new content.
How can I force the scrollbar to return to the top with each new content?
Thanks,
JAS
How can I force the scrollbar to return to the top with each new content?
Thanks,
JAS