关于取消单选按钮 [英] regarding unchecking of radio button
本文介绍了关于取消单选按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在选中单选按钮后取消选中
how to uncheck a radio button after checking it
推荐答案
看看这个jQuery实现 ^ ]
Take a look at this jQuery implementation JQuery How to Uncheck A radio button[^]
在正确设计的代码中,无需取消选中单选按钮,或者至少非常罕见.此按钮是为其他选择而设计的.对于同一组中的多个单选按钮,可以通过选中其他某个按钮来取消选中该按钮.因此,请检查您是否真的需要它,机会是,您不需要.
—SA
In a correctly designed code there is no need to un-check a radio button, or at least very rare. This button is designed for alternative choice; for several radio button in the same group a button is unchecked by checking some other button. So, check if you really need it, chances are, you don''t.
—SA
这篇关于关于取消单选按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文