clicking on text of a radio button highlights the button

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pmarley2
Forum Newbie
Posts: 6
Joined: Thu Nov 17, 2011 6:29 am

clicking on text of a radio button highlights the button

Post by pmarley2 »

is there a way to do this? that is, when the user hovers over the text associated with a radio button answer, s/he can click either the text or the button itself to highlight that answer?

thanks in advance
~p
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: clicking on text of a radio button highlights the button

Post by Celauran »

I'm not sure what you're asking that's different than here: viewtopic.php?f=1&t=132858
I thought you had it working.
pmarley2
Forum Newbie
Posts: 6
Joined: Thu Nov 17, 2011 6:29 am

Re: clicking on text of a radio button highlights the button

Post by pmarley2 »

sorry for the confusion. i've got the background highlighting working as you said. now i'd like to make it so that if the user clicks on the text next to the radio button (or the button itself), the button is selected.
pmarley2
Forum Newbie
Posts: 6
Joined: Thu Nov 17, 2011 6:29 am

Re: clicking on text of a radio button highlights the button

Post by pmarley2 »

by the way Celauran, would you have any insight on how to do what I describe in viewtopic.php?f=1&t=132876. that's the most important feature i want to get working.

thanks.
Post Reply