Is it possible to change CSS based on form selection

Mandie

New Member
Hi guys,

Kind of a dumb question but, is it possible in a form that has say three radio buttons in an element with each one having a color value to change the css background color of the cell depending on which radio button is selected?

Cheers,
Mandie
 
this js code should work:

Code:
this.getParent('div.fabrikElement').setStyle('background-color', this.get('value'));

that presumes the sub option values are things like 'red' or '#4433FF'
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top