SyntaxFix
Write A Post
Hire A Developer
Questions
The best simple approach :
error: function (xhr) { var err = JSON.parse(xhr.responseText); alert(err.message); }