How do I know if jQuery has an Ajax request pending?

$.active returns the number of active Ajax requests.

More info here

Leave a Comment