I have a div that has a large number of items in it. I select these items dynamically by clicking a button, overflow is auto in my case. What I want is that when an item that is
Yet another option... anchors.
Assign each item a unique ID, and when you want to scroll to a particular item, execute the following JavaScript code:
location.hash = itemID;
...where itemID is a variable that contains the ID of the element you want to scroll to.
itemID
Steve