js循环遍历对象

$.each(obj,function (i,val) {
$('#'+i).val(val);
})

 

posted @ 2018-12-28 10:02  eros_token  阅读(284)  评论(0编辑  收藏  举报