I have a div tag set to scrollable (overflow:auto). In the div tag i have a table. The div area is set big enough to view 10 rows of the table and the table has 100 rows (each with an anchor). Clicking a cell in the table carries you to another page where the user can enter or alter data that shows up in that cell. When they save/submit, they are returned to the original page with the updated info.
How do i know where that cell was scrolled at in the div tag when the user clicked it and how do i display the updated page scrolling to that same spot (so the user doesn't have to scroll again).
Say the user scrolled so that cell in row 13 was visible in the 10 row window and it was second from bottom. When i go back to the page, how do i know it was second from the bottom and how do i scroll so that it is there again?
How do i know where that cell was scrolled at in the div tag when the user clicked it and how do i display the updated page scrolling to that same spot (so the user doesn't have to scroll again).
Say the user scrolled so that cell in row 13 was visible in the 10 row window and it was second from bottom. When i go back to the page, how do i know it was second from the bottom and how do i scroll so that it is there again?