解决Ext在IE9上报错,createContextualFragment
2014-01-07 17:58
393 查看
//解决IE9对象不支持“createContextualFragment”属性或方法。 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; }; }
相关文章推荐
- 解决Ext在IE9上报错,createContextualFragment
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- ext在ie9上报对象不支持“createContextualFragment”属性或方法
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- ExtJs在IE9上报错:对象不支持“createContextualFragment”属性或方法(解决方案)
- EXtjs 解决ie9 不支持extjs对象的 “createContextualFragment”属性或方法
- Ext 2.2 在IE9下报错 对象不支持“createContextualFragment”属性或方法
- 解决ie9不支持extjs3.3对象的“createContextualFragment”属性或方法
- EXT 错误 对象不支持“createContextualFragment”属性或方法
- EXTJS 2.2版本在IE9中会报错:对象不支持“createContextualFragment”属性或方法
- 解决Ext的Tooltip在IE9中不能显示
- MATLAB在Linux上报Warning: Unable to create com.mathworks.mde.explorer.Explorer解决方法
- 对象不支持“createContextualFragment”属性或方法
- Extjs Microsoft JScript 运行时错误: 对象不支持“createContextualFragment”属性或方法
- 对象不支持“createContextualFragment”属性或方法
- Extjs: 对象不支持“createContextualFragment”属性或方法
- createContextualFragment 方法
- 让IE6 IE7 IE8 IE9 IE10 IE11支持Bootstrap的解决方法
- 解决使用pthread_create函数造成的内存泄露