代码如下: <html> <head> [removed] function cl() { var xmlhttp; if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject(“Microsoft.XMLHTTP”); } xmlhttp.open(“POST”,”ajax2.html”,true); xmlhttp.setRequestHeader (“Content-Type”,”application/x- www-f