Hello all --
I have a sort of off the wall question, but what the heck...
I have this page that has a battery of select boxes, text boxes, radio buttons, etc... and they are used to enter information into a database about projects -- the page reloads each time a selection is made, checking their inputs against the database each time -- enforcing business rules as it goes --
Here's the problem, though. When the page reloads, it of course resets itself back to the top of the page --
I know I could use anchors to set the page back, but depending on screen res and whether or not they had the element they are working on right at the top of the screen (and probably a few others), having the screen reload and then anchor to something probably wouldn't be my best solution -- I'd rather just not have it at all if that's all I can do --
So the question is -- is there some way to save the actual screen position, and then have the browser re-orient itself to the exact same position on reload??? Just like the back button on your browser -- it does it -- when you hit back, it goes back to the exact same spot that you left that page
Anyone know how I could replicate that?? (and I'm not looking for history.back)
Thanks for any input!
Paul Prewett
I have a sort of off the wall question, but what the heck...
I have this page that has a battery of select boxes, text boxes, radio buttons, etc... and they are used to enter information into a database about projects -- the page reloads each time a selection is made, checking their inputs against the database each time -- enforcing business rules as it goes --
Here's the problem, though. When the page reloads, it of course resets itself back to the top of the page --
I know I could use anchors to set the page back, but depending on screen res and whether or not they had the element they are working on right at the top of the screen (and probably a few others), having the screen reload and then anchor to something probably wouldn't be my best solution -- I'd rather just not have it at all if that's all I can do --
So the question is -- is there some way to save the actual screen position, and then have the browser re-orient itself to the exact same position on reload??? Just like the back button on your browser -- it does it -- when you hit back, it goes back to the exact same spot that you left that page
Anyone know how I could replicate that?? (and I'm not looking for history.back)
Thanks for any input!
Paul Prewett