I-R-Fool Posted November 16, 2008 Share Posted November 16, 2008 <script type="text/javascript">function Ajax(){var xmlHttp; try{ xmlHttp=new XMLHttpRequest();// Firefox, Opera 8.0+, Safari } catch (e){ try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); // Internet Explorer } catch (e){ try{ xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ alert("No AJAX!?"); return false; } } }xmlHttp.onreadystatechange=function(){ if(xmlHttp.readyState==4){ document.getElementById('######').innerHTML=xmlHttp.responseText; setTimeout('Ajax()',00550); }}xmlHttp.open("GET","data.php",true);xmlHttp.send(null);}window.onload=function(){ setTimeout('Ajax()',00550);}</script> There are parameters on the index page, sended by a data.phpbut with this script, the parameters are resetted, is there a way to keep the parameter??page=[number here] (made by data.php "?page=$page\") Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.