Jump to content

Need to get parameters aswell


I-R-Fool

Recommended Posts

<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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...