In my flex application, I have radio buttons. When the user clicks on the switch, I want to pop up an alert, and if the user clicks OK, the switch will change, otherwise their change will be discarded.
How to do it? I tried event.preventDefault (); when handling the click event, but it did nothing. Any other ideas?
source share