jquery获得所有选中的checkbox 发表评论 jquery获得所有选中的checkbox $('input[type=checkbox]:checked').each(function() { alert($(this).val()); });