var data; var json=‘[{"CityId":18,"CityName":"西安","ProvinceId":27,"CityOrder":1},{"CityId":53,"CityName":"广州","ProvinceId":27,"CityOrder":1}]‘; eval("data="+json); alert(data); $(data).each(function(){ alert(this.CityId+" "+this.CityName); });
标签:class gpo AC val body blog query this var
var data; var json=‘[{"CityId":18,"CityName":"西安","ProvinceId":27,"CityOrder":1},{"CityId":53,"CityName":"广州","ProvinceId":27,"CityOrder":1}]‘; eval("data="+json); alert(data); $(data).each(function(){ alert(this.CityId+" "+this.CityName); });
标签:class gpo AC val body blog query this var
原文地址:https://www.cnblogs.com/fps2tao/p/8722964.html