mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add responseJSON attribute to JQueryXHR
This commit is contained in:
@@ -86,6 +86,9 @@ function test_ajax() {
|
||||
success: function (data) {
|
||||
$('.result').html(data);
|
||||
alert('Load was performed.');
|
||||
},
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
alert('Load ailed. responseJSON=' + jqXHR.responseJSON);
|
||||
}
|
||||
});
|
||||
var _super = jQuery.ajaxSettings.xhr;
|
||||
|
||||
Reference in New Issue
Block a user