ドキュメント

Ajax/ajaxStop

From jQuery JavaScript Library

Jump to: navigation, search

« Back to Ajax

ajaxStop( callback )

Attach a function to be executed whenever all AJAX requests have ended. This is an Ajax Event.
Arguments:
callbackFunction
The function to execute.
function () {
  this; // dom element listening
}
Examples:

Hide a loading message after all the AJAX requests have stopped.

 $("#loading").ajaxStop(function(){
   $(this).hide();
 });

NameType