...

View Full Version : option button group uncheck all



BubikolRamios
03-12-2009, 02:32 PM
if I have a group of option buttons, they are at start all uncheched, the second I pick one there is no way to restore original state --> all unchecked.
Any suggesstion, except js ?


<input type="radio" name="b" id="cb1"/>
<input type="radio" name="b" id="cb2"/>
....

_Aerospace_Eng_
03-12-2009, 03:09 PM
JS would be the only solution.

abduraooft
03-12-2009, 03:24 PM
Or you'd need to use a reset button (http://www.w3schools.com/TAGS/att_input_type.asp), but which will erase/undo all your input elements.

_Aerospace_Eng_
03-12-2009, 03:29 PM
Or you'd need to use a reset button (http://www.w3schools.com/TAGS/att_input_type.asp), but which will erase/undo all your input elements.

:p Kind of forgot about the reset button but it would only work for the OP in this case like you stated if the radio buttons were the only elements of the form.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum