easyui复选框实现单选框

$(':checkbox[name=primary_key_flag]').each(function(){
$(this).click(function(){
if(this.checked){
$(':checkbox[name=primary_key_flag]').removeAttr('checked');
this.checked=true;
}
});
});
posted @ 2019-05-15 18:02  那些年的代码  阅读(2880)  评论(0)    收藏  举报