获得checkbox 内选择的选项

$(“.chb:checked”).map(function(){return $(this).val()}).get();

$(".chb:checked").map(
    function(){
        return $(this).val()
    }
).get();

发表回复