1

I have an application ajax-based with call like this:

-----
 url='/list.php?a=1&b=2'
xmlhttp.open("GET", url,true);
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4) {
    document.getElementById("return").innerHTML=xmlhttp.responseText;
 }
-------

If I go in another page from this and then I Clikc the BACK button of the browser, the funcion return me the initial ajax call, not saving the last ajax request that i do. How can I display the result of last ajax call? Tnx Stefania

Beb Pratza Ballus
  • 221
  • 1
  • 5
  • 14

0 Answers0