Hi friends How do I get only the main message here is to show my j44?
error: function (xhr, status, errorThrown) {
alert(xhr.responseText);
}
Hi friends How do I get only the main message here is to show my j44?
error: function (xhr, status, errorThrown) {
alert(xhr.responseText);
}
make it
error: function (xhr, status, errorThrown) {
alert(JSON.parse(xhr.responseText).category[0]);
}