Getting buttons element to work with Internet Explorer 11

你说的曾经没有我的故事 提交于 2019-12-12 02:49:39

问题


I have the following test code working for all the browsers except for Internet Explorer 11:

<button type="button" id="index_next" class="button_next" onclick="alert(this.id);" >Next</button>

I have created a jsfiddle here

Please assist. How do I get this working for IE11.

thanks


回答1:


Thank you Dallas. I have since resolved using

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

This has created a level of compatibility with other browsers,but have experienced odd behaviours in other features like websockets when using IE11. Thank you so much for your response.



来源:https://stackoverflow.com/questions/33067104/getting-buttons-element-to-work-with-internet-explorer-11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!