ajax异步请求 var xmlhttp; function loadHttpRequest(){ xmlhttp=null; if (window.XMLHttpRequest) {// code for all new browsers xmlhttp=new XMLHttpRequest(); }else if (window.ActiveXObject){// code for IE5 and IE6 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP&q uot;); } } function loadXMLDoc() { loadHttpRequest(); if (xmlhttp!=null){ xmlhttp.open("post","content.jsp",true);//打开 xmlhttp.onreadystatechange=state_Change;//回调函数 uot;); } } function loadXMLDoc() { loadHttpRequest(); if (xmlhttp!=null){ xmlhttp.open("post","content.jsp",true);//打开 xmlhttp.onreadystatechange=state_Change;//回调函数