function importXML(file) {
if (document.implementation && document.implementation.createDocument) {
//chrome下怎么加载xml文件?
//不能xmlDoc.load(file);
}
}
...全文
4258打赏收藏
求助,chrome浏览器下加载XML文件
var xmlDoc; function importXML(file) { if (document.implementation && document.implementation.createDocument) { //chrome下怎么加载xml文件? //不能xmlDoc.load(file); } }