I'd like to show some visual progress to a user during an ajax request. E.g when he clicks a 'process' button which makes an AJAX request to a server-side script, he will see a 'loading...' message and a graphic, but I also want to show him some progress of how much processing is done. E.g
5/10 processed, 6/10 processed...
Here's some sample code. There may be problems with it, I'm snipping it out of a much bigger app.
<button id="doStuff"> <div id="status"></div> <div id="iframeHolder"></div>
server side (this is vb asp.net, but you should be able to do it in your language of choice):
Hope that helps. I tore my head out with this a couple of months ago :-)