Jquery each 遍历获取checkbox的选中状态
var pList = ""; $("[name='ckdProd']").each(function () { if ($(this).is(':checked')) { pList += $(this).val() + ","; } });
var pList = ""; $("[name='ckdProd']").each(function () { if ($(this).is(':checked')) { pList += $(this).val() + ","; } });