This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a select list and an HTML table on my page. The function is to click an element in the list then click in a table cell and the cell populates with whatever was selected.
On mouse up the div holding list and div holding table are reloaded(jQuery) to remove slected element from list and show in table.
This works great except when table coordinate y is longer than screen. However, then the table is longer the user selects a list element, scrolls down the table to find correct row, cell, clicks the cell to populate with selected element.
Then as expected the reload fires and the table is scrolled back to top. So the user has a lot of extra scrolling to do. Is there a way to reload the table div and keep the row pointer on the last selected cell?