One of my pages has about 5 jQuery AJAX calls that fire off as soon as the page loads. I know that I can track each AJAX call individually and know when it is complete, but is there any way to track them as a whole? This way, I'll know when the last AJAX call is complete and I can signal a UI change.
I guess I could keep a running count of the number of "active" calls and check that number each time a call completes, but is there a more eloquent solution?