What are the parameters sent. Always in jQuery?
1 answer
The documentation is in the jqXHR section of the $ .ajax entry . 1
The parameters are as follows:
jqXHR.always(function( data|jqXHR, textStatus, jqXHR|errorThrown ) { });
-
If an error occurs:
jqXHR.always(function( jqXHR, textStatus, errorThrown ) { });
-
Otherwise:
jqXHR.always(function( data, textStatus, jqXHR ) { });
Notes
- Thanks to Mike's comment .
+3
source to share