jquery 获得多选框的值

$('input[name="aihao"]:checked').each(function(){ 
            str +=$(this).val()+','; 
            selecthtml +='<label>'+ $(this).parent().text()+'</label>';
        });
原文地址:https://www.cnblogs.com/jackluo/p/3497891.html