How to make href will work on button in IE8

Posted by bob on Stack Overflow See other posts from Stack Overflow or by bob
Published on 2010-06-01T13:01:43Z Indexed on 2010/06/01 13:13 UTC
Read the original article Hit count: 108

Filed under:
|
|

I want href will work on type="button"in IE8.

<a href="submit.php"><input type="button" value="Submit" class="button" /></a>

Other browser working fine but on IE8 the code above not working. How to fix it?

Update

<form action="submit.php" method="post"">
<input type="submit" value="Submit" class="button" />
</form>

I know this way can be done. But I want to know other ways how to make it work on IE8 without to have the <form></form>

© Stack Overflow or respective owner

Related posts about html

Related posts about XHTML