如何让选择的单选按钮重复点击后取消选中?
问题同上。但不能用清除reset方式去除,只对单个单选按钮点击选中,再点击取消选中状态!请指教!谢谢!
<form name="form1" method="post" action="">
<input type="radio" name="sex" value="male" />male
<input type="radio" name="sex" value="female" />female
<input type="submit" name="submit1" value="确定">
<input type="reset" name="submit2" value="重置">
</form>