[jQuery] Return scrollbar to top of <div> with overflow:auto after content replaced?
I'm replacing the contents of a <div> that has overflow set to 'auto.'
Problem is, when the new content loads, the scrollbar remains where
ever the user left it when they triggered the refresh. Is there any
way to return the scrollbar to the top when new content loads?
I tried setting overflow to 'hidden' before the load, then setting it
back to 'auto' or 'scroll,' hoping that would reset it, but it didn't
make any difference.
Thanks,
Jason