为什么只能调用这种格式的json?
var data = {"name": "ball","age": "12"}; $("p").bind("click",function(){ $.each(data,function(k,v){ $("#jj").append("<div>"+k+":"+v+"</div>"); }); });
var data = {"name": "ball","age": "12"}; $("p").bind("click",function(){ $.each(data,function(k,v){ $("#jj").append("<div>"+k+":"+v+"</div>"); }); });
2014-12-19
举报