[thelist] JAVASCRIPT: moving the scroll position of the browser onload

Ben Ewing bewi at haestad.com
Thu Jun 27 08:30:01 CDT 2002


>i was thinking that maybe it would be more convenient for the user to
>have the page automagically scrolled to the very bottom so they could
>quickly understand why they were sent back to form page.


You don't need to use JavaScript for this.

Put an anchor tag with a name just above the form and then at the end of
the redirect link from the processing page put a #name.

Like this...
/index.asp?x=1&y=2&z=3#formerror

On the page...
[a name="formerror"][/a]






More information about the thelist mailing list