Control window scroll position on a submit and redirect to the same page
429004Dec 13 2006 — edited Dec 14 2006I have a long page with a submit button towards the bottom. When a user clicks this button I want the submit to occur but for the page position to stay the same so when the page rerenders it does not just return to the top but returns to the bottom where the button is.
I've found code for controlling scrolling on postback (including onscroll="javascript:setcoords()") but cannot figure out how to make it work in APEX.
Any ideas or examples?
Thanks,
Linda