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  那些年的代码  阅读(2813)  评论(0编辑  收藏  举报