问题
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