Forum Moderators: open

Message Too Old, No Replies

Always go to top of the page.

...when submit button is clicked

         

tomda

4:24 pm on Nov 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a very long form which is checked for validation using javascript. All warning messages are located at the top of page.

Nonetheless when an user clicks on a "Submit" button which is located at the bottom of the form and get warning msg, he needs to scroll up to understand what's going on!

Is there a way to always go to the top of page when a button is clicked.

Thank you

Bernard Marx

11:34 pm on Nov 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



location.replace('#');