A perfect example would be Simons "Find a Habbo" function in invent.no-ip.org/hl2/ thanks..

A perfect example would be Simons "Find a Habbo" function in invent.no-ip.org/hl2/ thanks..
How could this hapen to meeeeeeeeeeeeeee?lol.
Easy way: Scriptaculous.
bla.php just echos out what you want..Code:var handlerFunc = function(t) { alert(t.responseText); } var errFunc = function(t) { alert('Error ' + t.status + ' -- ' + t.statusText); } //For an XML response: var handlerFunc = function(t) { var xmlDoc = t.responseXML.documentElement; //Handle data. } new Ajax.Request('bla.php', {parameters:'thisvar=true&thatvar=Howdy', onSuccess:handlerFunc, onFailure:errFunc});
You could also change the handlerFunc to
Code:document.getElementById('mydiv').innerHTML = t.responseText;
Last edited by Zedtu; 16-02-2008 at 12:27 AM.
So that would work out as querying it without changing the page as bla.php?q=login&x=anotherparam
?? but I could use like a loading image eg windows live mails
How could this hapen to meeeeeeeeeeeeeee?lol.
Want to hide these adverts? Register an account for free!