IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this community and its apps will no longer be available. More details available on our FAQ.
  • No replies
2 Posts

Pinned topic How to keep scroll on position that it was before i rendered page with AJAX

‏2011-06-10T12:18:44Z |
Hello everyone!
I have DHTML page where I expose subcontent based on DIV element with AJAX technology, it's a simply page
where I add some new rows to DIV element.So when my DIV element starts to grow then scroll shows, and when a new rows are add then this scroll is move to top of my page.
So is there a way to keep this scroll in position that he was before new row was added? (It's really important to keep in mind that
this scroll appear on DIV not on HTML element), maybe with some CSS setting.

Please help.