1.获取checkbox选中值
$("input[name=AAA]").each(function(){
if($(this).attr("checked")=="checked"){
$(this).val();
}
})
或者
$("input[name=AAA]:checked").each(function(){
$(this).val();
})
1.获取checkbox选中值
$("input[name=AAA]").each(function(){
if($(this).attr("checked")=="checked"){
$(this).val();
}
})
或者
$("input[name=AAA]:checked").each(function(){
$(this).val();
})