如何显示ajax responseText?
How to Display ajax responseText?
你好朋友我怎么才能得到这里只有主消息是显示我的j44?
error: function (xhr, status, errorThrown) {
alert(xhr.responseText);
}
成功
error: function (xhr, status, errorThrown) {
alert(JSON.parse(xhr.responseText).category[0]);
}
你好朋友我怎么才能得到这里只有主消息是显示我的j44?
error: function (xhr, status, errorThrown) {
alert(xhr.responseText);
}
成功
error: function (xhr, status, errorThrown) {
alert(JSON.parse(xhr.responseText).category[0]);
}