php中的分页跳转函数,点击时没反应显示页面: Information <br /> var xmlHttp ;<br /> function createXMLHttpRequest(){<br /> if(window.ActiveXObject){<br /> xmlHttp=new ActiveXObject("Microsoft.XMLHTTP") ;<br /> }else if(window.XMLHttpRequest){<br /> xmlHttp=new XMLHttpRequest() ;<br /> }<br /> }<br /> function viewpage(p){<br /> var formdata="page"+p ;<br /> createXMLHttpRequest() ;<br /> xmlHttp.onreadystatechange=callback ;<br /> xmlHttp.open("POST" , "recordsend.php" , true) ;<br /> xmlHttp.setRequestHeader("Content-Type" , "application/x-www-form-urlencoded") ;<br /> xmlHttp.send(formdata) ;<br /> //return false ; //why?<br /> }<br /> function callback(){<br /> if(xmlHttp.readyState==4){<br /> if(xmlHttp.status==200){<br /> document.getElementById("content").innerHTML=xmlHttp.responseText ;<br /> }<br /> }<br /> }<br /> session_start() ; error_reporting(E_ALL & ~E_NOTICE); ?> echo $_SESSION["name"]."