Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Variable for defning the state of a button

I am trying to use a variable to define the state of a button (selected or not selected)
On a page, I have 2 buttons for selecting the audio source: Radio or ITunes
Each button can have a default state (and a default image) or a selected state (and then a selected image).
I am using feedbacks that can give me the information on which source is selected.
I would like to use this feedback to set the state of each button:
If feedback is giving Radio then I would like to set the Radio button the state: selected and the Itunes button the state Default. And the opposite if feedback gives ITunes.
Is there any way to do so with variables ?

Thanks for you help

1 person has
this question