将[Object,Object]作为控制器的结果。如何在$.each(data, function (index, el) {}
[Object, Object]
0:Object
ID: 9
title: "15Sep2015"
1: Object
ID: 15
title: "rrr"
答案 0 :(得分:2)
你可以做到
$.each(data, function (index, el) {
var id = el.ID , // or el['ID']
title = el.title ; // or el['title']
});