jquery 获得多选框的值

$('input[name="aihao"]:checked').each(function(){ 
            str +=$(this).val()+','; 
            selecthtml +='<label>'+ $(this).parent().text()+'</label>';
        });

 

posted @ 2013-12-30 15:45  jackluo  阅读(363)  评论(0编辑  收藏  举报