hey guys,
I have a form that I have just the way I like.
form
input..
input...
submit
</form
Now I need to add an extra button to take you to a registration page that I want to put inline with the other submit button. (within the first form)
I can do this with the following code..
this works fine in chrome but when i click the register button in IE it reload the login page.
Any suggestions on how I can do this across all browsers?
I'd like to keep all the styling as it is as I'm not the best at it and it's much easier to simply ref class's already styled.
I have a form that I have just the way I like.
form
input..
input...
submit
</form
Now I need to add an extra button to take you to a registration page that I want to put inline with the other submit button. (within the first form)
I can do this with the following code..
Code:
<form action="checklogin.php" method="post" id="loginform">
<ol>
<li>
<label for="user">Your Username*<br />
<span> Email Address</span></label>
<input id="user" name="user" class="text" />
</li>
<li>
<label for="pass">Your Password*<br />
<span> Your Current Password</span></label>
<input id="pass" name="pass" class="text" />
</li>
<li class="buttons">
<input type="submit" value="Log in" id="submit" />
<input type="submit" value="Register" id="submit" class="register" formaction="register.php" />
</li>
</ol>
</form>
this works fine in chrome but when i click the register button in IE it reload the login page.
Any suggestions on how I can do this across all browsers?
I'd like to keep all the styling as it is as I'm not the best at it and it's much easier to simply ref class's already styled.