2019/3/11孙小北
JQuery循环遍历获取json数据
示例代码如下:for循环$.ajax({ type: 'GET', url: url, dataType: 'json', success: function (data) { for (i = 0; i < data.length; i++) { //业务代码 $('#ot_' + data[i].BsOrgTypeCD).prop("checked", true); } }, error: function (data) { top.layer.msg("获取...