Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
来源:互联网 发布:中华商务网数据录入 编辑:程序博客网 时间:2024/06/10 09:47
在页面中增加下面脚本
<script type="text/javascript">
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;
};
}
</script>
源自
<script type="text/javascript">
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;
};
}
</script>
源自
http://forums.ext.net/showthread.php?12837-FIXED-createContextualFragment-error-in-IE9
- ext在ie9上报对象不支持“createContextualFragment”属性或方法
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- ExtJs在IE9上报错:对象不支持“createContextualFragment”属性或方法(解决方案)
- Ext 2.2 在IE9下报错 对象不支持“createContextualFragment”属性或方法
- EXTJS 2.2版本在IE9中会报错:对象不支持“createContextualFragment”属性或方法
- 解决Ext在IE9上报错,createContextualFragment
- 解决Ext在IE9上报错,createContextualFragment
- EXT 错误 对象不支持“createContextualFragment”属性或方法
- 对象不支持“createContextualFragment”属性或方法
- 对象不支持“createContextualFragment”属性或方法
- 解决ie9不支持extjs3.3对象的“createContextualFragment”属性或方法
- 在IE9.0中引用ExtJs出现“SCRIPT438: 对象不支持"createRange”属性或方法”
- EXTJS 无法获取属性“UI”的值:对象为null或未定义,Microsoft JScript 运行时错误: 对象不支持“createContextualFragment”属性或方法
- extjs在IE报对象不支持此属性或方法
- 在IE中"对象不支持indexOf属性或方法"
- Extjs在IE报错"对象不支持此属性或方法", 而在firefox正常可用
- 百度地图应用开发(一)
- 连接数据库
- Java显示实时时间
- Java学习总结之异常处理
- map遍历
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- wikioi p3037 线段覆盖 5
- templete_dijkstra
- hadoop中一些常用的命令介绍
- RSA签名原理
- HAProxy---HAProxy,智能分流的负载均衡方案
- iOS 土豆视频播放,UIwebview播放视频
- input subsystem 函数解释
- LeetCode | Pow(x, n)