在以下 ajax 调用中,我以 json 格式获取数据,但在每个循环中,它不会提取数据,它会跳过循环并继续前进,就好像没有数据一样,但在调试时它将数据显示为.....
d:"[{"EmailCount":55,"DateAdded":"\/Date(1372651200000)\/"}]" //This is what shows //while debugging
jQuery.ajax({
url: 'Dashboard.aspx/GetMailCountDateWise',
type: "POST",
data: JSON.stringify({ frmDate: frmDate, eDate: eDate }),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
alert("Worked");
var result = JSON.parse(data);
var series = { addData: [] };
$.each(result, function (itemNo, item) {
series.addData = itemNo;
});
});
所以请大家帮我如何提取这些数据提前谢谢