Changing Styles Dynamically
Let's say i have three radio buttons:
I also have two sections:
and each section has a table with stuff in it.
Now, here's what I want::
When someone clicks on radio1, i want both info sections bg color to be set to white.
When they click on radio2, I want info1 section bg color to become red, and info2 section to become white.
Finally when they click on radio3, i want info2 bg color to become red, and info1 section bg color to be white.
How can I acomplish this, using stylesheets?