【发布时间】:2010-06-01 13:01:43
【问题描述】:
我希望 href 可以在 IE8 中使用 type="button"。
<a href="submit.php"><input type="button" value="Submit" class="button" /></a>
其他浏览器工作正常,但在 IE8 上上面的代码不起作用。如何解决?
更新
<form action="submit.php" method="post"">
<input type="submit" value="Submit" class="button" />
</form>
我知道可以这样做。但是我想知道其他方法如何使其在 IE8 上运行而无需 <form></form>
【问题讨论】:
-
为什么不使用提交按钮而不是使用按钮?
-
是可以做到的.. 但我想知道如何让它在 IE 上工作而无需提交表单
标签: html xhtml internet-explorer-8