[thelist] Deselecting A Radio Box

Lonnie Kraemer lwkraemer at earthlink.net
Thu Jan 23 15:18:01 CST 2003

> Is there a way to deselect a radio box?  Once a user selects a radio
> (lets say there are 3 radio boxes) how can the user deselect the box
> that no one box is selected?

This is bound to be troublesome. The W3C says there must be a default
'checked' button in any radio button "group". Granted, most browsers let
you get away without this, but some will simply choose one for you if
you neglect to make a default. If you DO have a default, it should be
easy enough to revert the selection to the default via javascript.

More information about the thelist mailing list