google浏览器下提示这个错误。if (document.implementation && document.implementation.createdocument) {//在非ie浏览器环境下 xmldoc = document.implementation.createdocument("", "", null);
try {
xmldoc.load(xmlpath);
} catch (e) {alert(e); }//typeerror:object #<a document> has no method load
xmldoc.async = false;
}在ff下可以正常。google下如何处理呀????
try {
xmldoc.load(xmlpath);
} catch (e) {alert(e); }//typeerror:object #<a document> has no method load
xmldoc.async = false;
}在ff下可以正常。google下如何处理呀????
只发行Uncaught SyntaxError: Unexpected token ILLEGAL
最后一个}括号有问题。