最終更新:2018-02-15 (木) 05:16:30 (2259d)
jqXHR
Top / jqXHR
http://api.jquery.com/jQuery.ajax/#jqXHR
メソッド
jqXHR.done? jqXHR.done(function( data, textStatus, jqXHR ) {}); jqXHR.fail? jqXHR.fail(function( jqXHR, textStatus, errorThrown ) {}); jqXHR.always? jqXHR.always(function( data|jqXHR, textStatus, jqXHR|errorThrown ) { }) jqXHR.then? jqXHR.then(function( data, textStatus, jqXHR ) {}, function( jqXHR, textStatus, errorThrown ) {});
メモ
- following callbacks are deprecated as of jQuery 1.8.
メモ
- jqXHR.success(), jqXHR.error?(), and jqXHR.complete?() callbacks are removed as of jQuery 3.0.
- You can use jqXHR.done?(), jqXHR.fail?(), and jqXHR.always?() instead.