jQuery一句就搞定radio返回值选定的问题
jQuery(":radio[value=${user.gender}]").attr("checked",true);一句就搞定,而用平常的
<td class="px10"><input type="radio" name="sex" id="radio" value="NONE" <c:if test="${sex=='NONE'}"><c:out value="checked"/></c:if>/>
保密
<input type="radio" name="sex" id="radio" value="MAN" <c:if test="${sex=='MAN'}"><c:out value="checked"/></c:if>/>
男
<input type="radio" name="sex" id="radio" value="WOMEN" <c:if test="${sex=='WOMEN'}"><c:out value="checked"/></c:if> />
女
</td>
相关推荐
zhanghaibing00 2020-06-28
MaureenChen 2020-05-25
风飞飘扬 2014-06-24
lbPro0 2019-11-03
donghongbz 2019-10-19
85931235 2012-01-11
yFifhting 2017-06-08
NARUTOLUOLUO 2019-07-01
人心 2019-06-30
攻城师 2019-06-29
HotStrong 2017-06-08
zfjdoreen 2016-04-13
89367741 2016-03-30
shiyiboke 2016-03-29
SinhaengHhjian 2016-01-25
89453862 2015-10-10