Add responseJSON attribute to JQueryXHR

This commit is contained in:
noxhj
2014-06-11 13:01:26 +02:00
parent d84b415d60
commit 7643a269b2
2 changed files with 8 additions and 1 deletions
+3
View File
@@ -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;