[jQuery] Re: Read AJAX response in transit?

2008-09-17 Thread Michael Price
Thank you both for your suggestions - I'll give them a try and see what I come up with. The script in question takes about 5 minutes so if I can get something going via your suggestions it'll keep people happy :) Regards, Michael Price

[jQuery] Re: Read AJAX response in transit?

2008-09-16 Thread onmountain
Hi. I guess if the process is REALLY long, like minutes or hours, it could be done. How about this as an idea: 1. on the server, create two handlers. The first one is the action you call to start the long process off with - call it start. The second will be a progress check - call it check. 2.

[jQuery] Re: Read AJAX response in transit?

2008-09-16 Thread ricardobeat
It is possible, but is complicated. First, google always helps: http://ajaxpatterns.org/Progress_Indicator Is the script long in runtime or in size? If it's in size, you have three options: 1. use a fake progress bar that runs on an estimate of download time 2. use subsequent XHR requests to