Extjs Microsoft JScript 运行时错误: 对象不支持“createContextualFragment”属性或方法
2013-01-26 17:48
525 查看
<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>
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>
相关文章推荐
- 解决ie9不支持extjs3.3对象的“createContextualFragment”属性或方法
- Microsoft JScript 运行时错误: 对象不支持此属性或方法
- Extjs: 对象不支持“createContextualFragment”属性或方法
- EXTJS 2.2版本在IE9中会报错:对象不支持“createContextualFragment”属性或方法
- ExtJs在IE9上报错:对象不支持“createContextualFragment”属性或方法(解决方案)
- Microsoft JScript 运行时错误 对象不支持此属性或方法
- Microsoft JScript 运行时错误 对象不支持此属性或方法
- EXtjs 解决ie9 不支持extjs对象的 “createContextualFragment”属性或方法
- EXT 错误 对象不支持“createContextualFragment”属性或方法
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- 对象不支持“createContextualFragment”属性或方法
- ext在ie9上报对象不支持“createContextualFragment”属性或方法
- 对象不支持“createContextualFragment”属性或方法
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- Ext在IE9上报错:对象不支持“createContextualFragment”属性或方法
- Ext 2.2 在IE9下报错 对象不支持“createContextualFragment”属性或方法
- mvc4+easyui报JavaScript 运行时错误: 对象不支持“xxx”属性或方法
- Microsoft JScript 运行时错误: 对象不支持此属性或方法
- 一些VS2005和VS2008向导弹出脚本错误。错误信息:对象不支持此属性或方法。
- Thin的DateChooser代码学习(关于js的函数参数为一个完整的函数以及“对象不支持此属性或方法”错误的解决)(原创,转载请声明)