【发布时间】:2012-03-16 09:04:19
【问题描述】:
此代码适用于 Firefox、Chrome 和 Safari,但在 (Windows) IE 8 上对我来说失败:
<a href='http://google.com'>
<input type="button" name='go' value='go'>
</a>
为什么?我应该只使用(笨拙的)onClick 事件来解决它吗?
咕噜咕噜……
【问题讨论】:
-
你试过
<a href='http://google.com'><button>go</button></a>吗? -
刚刚尝试过——同样的事情:在 Chrome 中有效,在 IE 8 中无效:-(
-
您在
a中包含button的动机是什么?
标签: html internet-explorer internet-explorer-8