jquery 获得多选框的值

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

 

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