运行后 为什么提示的结果是[object Object],[object Object] 而不是具体的数据呢?
这个结果应该是这样才对[{title: "3333333333333"}, {title: "3333333333333"}]
然后我又试了一下alert(obj.title)
这样提示undefined 这是为什么?
$res=$xiao->field("title")->select();$this->ajaxReturn($res); ajax("{:U('zhuye/zhuye')}",oV1,function(str){ var obj = eval("("+str+")"); alert(obj); });
梵蒂冈之花
相关分类