操作方法
一种解决方案是在你网站的web.config中配置IE的兼容模式: <system.webServer> <httpProtocol> <customHeaders> <clear/> <add name="X-UA-Compatible" value="IE=edge"/> </customHeaders> </httpProtocol> <system.webServer>
还有一种方式是在页面中添加以下meta: <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
然后检查一下Jquery代码是否正确,确保事件绑定操作在页面加载的时候正确执行,jquery绑定点击事件代码如下: $(function(){ $("#id1").click(function(){ //... });});