后台数据: 前端ajax接收数据: 接收到之后用eval(data)解析json数据,用eval(data).obj(obj为数据中数组的名字)选择我们想要获取内容的数组,再用each函数遍历这个数组即可。