javascript - loadXML does not work in chrome -
this works in ie crashes chrome in last line
var ie = (window.activexobject) ? true : false; var xmldoc = (ie) ? new activexobject("msxml2.domdocument") : new window.xmlhttprequest(); xmldoc.async = false; xmldoc.resolveexternals = false; xmldoc.loadxml(xmlhttp.responsexml.text);
how can solved?
Comments
Post a Comment