Global Ajax Event Handlers
-
jQuery .ajaxComplete( Function handler(event, XMLHttpRequest, ajaxOptions) )
Register a handler to be called when Ajax requests complete. This is an Ajax Event.
-
jQuery .ajaxSuccess( Function handler(event, XMLHttpRequest, ajaxOptions) )
Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.
-
jQuery .ajaxStop( Function handler() )
Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.
-
jQuery .ajaxStart( Function handler() )
Register a handler to be called when the first Ajax request begins. This is an Ajax Event.
-
jQuery .ajaxSend( Function handler(event, jqXHR, ajaxOptions) )
Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.
-
jQuery .ajaxError( Function handler(event, jqXHR, ajaxSettings, thrownError) )
Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.