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