您的位置:首页 > Web前端 > HTML

dhtmlxtree SCRIPT438: 对象不支持“load”属性或方法

2016-09-19 11:04 316 查看
问题:使用dhtmlxtree插件在IE9浏览器出现以下异常:
SCRIPT438: 对象不支持“load”属性或方法
dhtmlxcommon.js, 行24 字符226 解决方案:
修改dhtmlxtree插件源码dhtmlxcommon.js,将报错行代码修改为:

if (document.implementation && document.implementation.createDocument) {
/*
this.xmlDoc = document.implementation.createDocument("", "", null);
this.xmlDoc.onload = new this.waitLoadFunction(this);
this.xmlDoc.load(filePath);
return
*/
//解决IE9 load无法加载问题
this.xmlDoc=new ActiveXObject("Microsoft.XMLHTTP");
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  IE9 SCRIPT438 dhtmlxtree
相关文章推荐