xmlhttp.onreadystatechange = function() if (xmlhttp.readyState == 4 && xmlhttp.status == 200)问题:readyState: 4: request finished and response is ready
When readyStateis 4 and status is 200, the
new ActiveXObject("Microsoft.XMLHTTP");xmlhttp.onreadystatechange=function() if (xmlhttp.readyState==4 && xmlhttp.status==200) console.log(xmlhttp.responseText); else
console.log