$("#buy").click(function(){
$("input[type=checkbox]").each(function(i){
if($(this).attr(\'checked\')){
alert(this.value);
}
});
});
$("#buy").click(function(){
$("input[type=checkbox]").each(function(i){
if($(this).attr(\'checked\')){
alert(this.value);
}
});
});
相关文章: