Hello.
I've got a sign-in page with a form and three buttons. One is to submit the user/password, one is to send the forgotten password to the user and the other is to take the user to a registration page if they are a new user.
I have used CSS to make the buttons look the same, but I want the "register" button to simply navigate to a new page in the current browser window, and not submit the form. Can I stop the form being submitted with javascript?
Thanks.
I've got a sign-in page with a form and three buttons. One is to submit the user/password, one is to send the forgotten password to the user and the other is to take the user to a registration page if they are a new user.
I have used CSS to make the buttons look the same, but I want the "register" button to simply navigate to a new page in the current browser window, and not submit the form. Can I stop the form being submitted with javascript?
Thanks.