【发布时间】:2015-10-11 16:06:54
【问题描述】:
以下测试代码适用于除 Internet Explorer 11 以外的所有浏览器:
<button type="button" id="index_next" class="button_next" onclick="alert(this.id);" >Next</button>
我创建了一个 jsfiddle here
请帮忙。我如何使它适用于 IE11。
谢谢
【问题讨论】:
-
我看到了按钮渲染的问题(仅在 IE11 中)。问题是在呈现的代码中, type="button" 属性以某种方式移动到了标记的末尾。通过编辑为 HTML 并将属性移回标记的开头(即 -
标签: button internet-explorer-11