获取多个checkbox的选中值

我在这个div中添加了多个input。

拼接一下呢。最老的方法。

 jquery获取值:

         var strSel="";
             $("[name='jbbm']:checked").each(function(index, element) {
                 strSel += $(this).val() + ",";
             });
             alert("选中的值:"+strSel);
原文地址:https://www.cnblogs.com/hellokitty1/p/7090903.html