解决Ext在ie9报错:不支持extjs对象的“createContextualFragment属性或方法
2019-03-26 10:10
369 查看
把下面的代码放入js文件的头部
if ((typeof Range !== "undefined") && !Range.prototype.createContextualFragment) {
Range.prototype.createContextualFragment = function(html) {
var frag = document.createDocumentFragment(),div = document.createElement("div");
frag.appendChild(div);
div.outerHTML = html;
return frag;
};
}
相关文章推荐
- EXtjs 解决ie9 不支持extjs对象的 “createContextualFragment”属性或方法
- 解决ie9不支持extjs3.3对象的“createContextualFragment”属性或方法
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- EXTJS 2.2版本在IE9中会报错:对象不支持“createContextualFragment”属性或方法
- ExtJs在IE9上报错:对象不支持“createContextualFragment”属性或方法(解决方案)
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- Ext 2.2 在IE9下报错 对象不支持“createContextualFragment”属性或方法
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- ext在ie9上报对象不支持“createContextualFragment”属性或方法
- Extjs: 对象不支持“createContextualFragment”属性或方法
- EXT 错误 对象不支持“createContextualFragment”属性或方法
- Extjs Microsoft JScript 运行时错误: 对象不支持“createContextualFragment”属性或方法
- 对象不支持“createContextualFragment”属性或方法
- 对象不支持“createContextualFragment”属性或方法
- 解决Ext在IE9上报错,createContextualFragment
- 解决Ext在IE9上报错,createContextualFragment
- 解决document.form1.submit()对象不支持此属性或方法的办法
- "PageMethods未定义"或"对象不支持此属性或方法"解决方法分享
- IE显示对象不支持此属性或方法 的解决方法
- 关于IE7打开任何网页弹出[未处理的异常('对象不支持此属性或方法')发生在iexplorer.exe]错误调试框的解决办法