Check lỗi PHP + AJAX

success: function (obj) {
},
error: function (xhr) {
  alert('Request Status: ' + xhr.status + ' Status Text: ' + xhr.statusText + ' ' + xhr.responseText);
},
complete: function () {
}

Last updated