大家好,又见面了,我是你们的朋友全栈君。
checkbox实现单选
信用等级量化分级管理(级别) A B C D
$(function(){
$(’[name=“XYDJLHFJ”][type=“checkbox”]’).each(function(){
KaTeX parse error: Expected ‘}’, got ‘EOF’ at end of input: … if((this).attr(‘checked’)){
( ′ [ n a m e = " X Y D J L H F J " ] [ t y p e = " c h e c k b o x " ] [ n a m e = ′ + ('[name="XYDJLHFJ"][type="checkbox"][name='+ (′[name=“XYDJLHFJ“][type=“checkbox“][name=′+(this).attr(“name”)+’]’).removeAttr(‘checked’);
$(this).attr(‘checked’,‘checked’);
}
});
});
});
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/139197.html原文链接:https://javaforall.net