我想拼接值为3的线[3,"John",90909090]data.json{"headers":[[{"text":"Code","class":"Code"},{"text":"Code","class":"Code"}]],"rows":[[0,"Peter",51123123],[3,"John",90909090],[5,"Mary",51123123]],"config":[[0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],"other":[[13,0]]}我试试这个:varsize=data.rows.length
我的页面处理许多“商店”对象,每个对象都有一个名为“数据”的字段。但是,此数据是通过可能并行进行的AJAX请求获取的。functionStore(id){this.id=id;this.queryparam='blah';this.items=null;}Store.prototype.fetch=function(){$.get("/get_items",{q:this.quaryparam},function(data,status){//howtostorethereceiveddatainthisparticularstoreobject?Being//acallbackfun