我有以下jQuery代码:
$.ajax({
url: url,
dataType: "json",
type: "GET",
success: function(a, b, c) {
console.log(a);
console.log(b);
console.log(c);
console.log($.parseJSON(c.responseText));
}
});
现在......为什么“一个”是空的?它不应该与$ .parseJSON(c.responseText)的调用相同吗?
响应是200状态的application / json内容类型,JSON字符串:
{
"Request":{
"Action":"ShowPageBasedOverview",
"ArgsString":"1",
"Args":["1"]
},
"Result":"<div><strong>html stuff</strong> 1,369,110</div>",
"Status":"Ok"
}