$(function(){
$(':checkbox[name="vat_pay_type"]').each(function(){
$(this).click(function(){
if($(this).attr('checked')){
$(':checkbox[name="vat_pay_type"]').removeAttr('checked');
$(this).attr('checked','checked');
}
});
});
});
input CheckBox单选功能(jquery)
最新推荐文章于 2024-04-29 17:39:04 发布