PDA

View Full Version : unClick event for radio buttons ?


Nomadicus
01-22-2003, 09:30 PM
I am using the onClick event to change the background color of a radio button when the user selects it. But if they select a different radio button in the group, the background color for the first button stays put.

Is there an "unclick" event to handle this so I can restore the BG color of the now unselected button to the default?

ez4ne12c
01-22-2003, 09:33 PM
No there is no unClick, you will have to bundle this into the onClick event of the other button...
like
onClick='change_my_bg();reset_other_bgs()'
ez:)