js ajax send 500 internal server error code example
Example: jquery ajax 500 error handling
$.ajax({
statusCode: {
500: function() {
alert("Script exhausted");
}
}
});
$.ajax({
statusCode: {
500: function() {
alert("Script exhausted");
}
}
});