ajax.html 代码如下:[removed] function f(){ var req =new ActiveXObject(“Microsoft.XMLHTTP”); req.open(“GET”,”t.asp?t1=”+t1.value, true); req.onreadystatechange = function(){ if (req.readyState == 4) { if (req.status == 200) { msg.innerText = req.responseXML.documentElement.tagName; } } } req.