radioButton.selected index changed [RESOLVED]
i need a button's text to change according to what a user selects from a radio button. ie: if the user selects "insert", the button's text changes to "insert" and if the user selects "query" yadda yadda.
The code I use works only when the button is pressed and the page refreshes itself. How can I have this event work as soon as the selectedIndex is changed?
Also, it might help to know that I am using a radiobutton LIST and not two seperate radiobuttons.