04-06-2009, 04:49 PM
I'm fetching some search text results on the sever with my ajax form - is there a way to show progress of the search rather than wait until the search is completed and then returning the results?
I'd like to be able to return each hit (find results) back to the form as it happens so the user can see something is happening. Is there a state that I can test for to do this?
04-07-2009, 06:36 AM
From just a few days ago.
Using a GUID to identify the client to the two AJAX pages seems like the best idea.
04-07-2009, 04:42 PM
I see...interesting idea...I'll work on it.
04-07-2009, 10:46 PM
This is my ajax function code.
Where would I insert my secondary ajax 'progress' call within this primary ajax call?
var argument = "test";
var url = "AjaxClickServer.php";
var params = "arg=" + agrument;
http.open("POST", url, true);
http.onreadystatechange = function()
if (http.readyState == 4) //Finished loading the response
if (http.status == 200)
var response = http.responseText;
alert("Ajax error: " + http.statusText);