用JQuery取消radiobutton的选中状态
<input type="radio" name="gender" value="M" />Male<br />
<input type="radio" name="gender" value="F" />Female<br />
<input type='button' value='Reset' id='reset' onclick='cancel()'>
<script type='text/javascript'>
cancel=function(){
$('input[name=gender]:checked').attr('checked',false);
};
</script>
相关推荐
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