摘要:
IE下一般这样做:var xmlDom =new ActiveXObject("Microsoft.XMLDOM"); 为了兼容Firefox,需要修改为:if (window.ActiveXObject){ var xmlDom =new ActiveXObject("Microsoft.XMLDOM"); } else{if (document.implementation && document.implementation.createDocument){var xmlDom = document.implementation.c 阅读全文