how to control the selection of radio buttons in jsp.
i think i have to write java script for that..
my code is like this
Expand|Select|Wrap|Line Numbers
- <form name="form1">
- <input type="radio" name="male">Male
- <input type="radio" name="female">Female
- <input type="submit" value="submit">
- </form>
if i select one radio button then i am not able to deselect it and
i am not able to select only one radio button.
how can i achieve it by using java script.
can anybody help me?