View Full Version : ajax progress display?
04-06-2009, 03: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, 05: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, 03:42 PM
I see...interesting idea...I'll work on it.
04-07-2009, 09: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);
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.