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
You could also use the DIV's scrollTop or scrollLeft property (depending on if the scroll is horizontal or vertical).
I've done this before and used a setTimeout event to make it scroll fluidly, rather than in 1 motion. This is without JQuery tho.