读书人

extjs2.2.1支持ie9或ie10的解决办法

发布时间: 2013-08-21 10:42:06 作者: rapoo

extjs2.2.1支持ie9或ie10的解决方法

IE9和IE10下有效,不过最好还是用IE10的兼容模式,否则别的一些js方法也变了
在ext-all.js下找这个getAttributeNS?方法修改成以下代码

?<meta http-equiv="X-UA-Compatible" content="IE=8">
?<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />?

页头设为兼容模式;

感谢csdn的angilin

读书人网 >JavaScript

热点推荐