Click here to Skip to main content
15,915,867 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I want to set different pictures according to radio button checked status but I don't want to do this programmatically.

I want use somehow like css or theme.

I want to design an online test and I used 4 radio buttons inside a datalist.
I want that when a user selects one of the radiobuttons the picture of it changes automatically.

Please see this
Posted
Updated 10-Sep-10 3:19am
v2
Comments
Dalek Dave 10-Sep-10 9:19am    
Edited for Grammar and Readability.

if you have little experience of javascript I would start looking into it now before taking this

Javascript tutorials
 
Share this answer
 
I doubt there is a direct way to do it. You can create your custom control from existing one though - in it set a different kinda style/css for selected items of Radiobutton.

Though with existing control, you can use JavaScript [^]to do the changing/highlighting.

Looks like, existing site link that you have shared across also uses Javascript.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900