any1 any ideas on how to deselect a radio button i have already used the onClick function and want to incorporate it into it.... ie if clicked twice then deslect
That aside, you'll probably have great difficulty achieving this without storing some sort of state variable / attribute.
If you really must do this with a radio button instead of a checkbox, you'd need to look into this, as simpy using the onclick event and checking the "checked" property would prove fruitless.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.