摘要:
1 function getXHR() {2 if (XMLHttpRequest) {3 return new XMLHttpRequest();4 }5 else {6 return new ActiveXObject("Microsoft.XMLHTTP");7 }8 } 1 function getXHR() { 2 if (typeof XMLHttpRequest == "undefined") { 3 XMLHttpRequest = function() { 4 tr... 阅读全文