jquery在传递数据的时候,传递的是对象,
在jquery中遍历元素,不能使用for i in obj 的形式,可以使用如下each:
$.each(obj,function(key,value){ console.log(key); console.log(value); });