jquery的each用法

来源:互联网 发布:dcdc芯片 单片机 编辑:程序博客网 时间:2024/05/17 22:48


var public_data_map = [];


public_data_map = [     ["per_name","开名"],
["per_type","开证型"],
["per_num","开证码"],
["pet_phone","手机号码"],
["agent_name","代名"],
["agent_type","代证型"],
["agent_num","代证码"],
["agent_phone","代电话"],
["medium_type","卡类型"],
  
];




$(public_data_map).each(function(index, element) {
json_map[element[0]] = pfs_content[element[1]];
});









0 0
原创粉丝点击