[thelist] Radio button / text association

aardvark evolt at roselli.org
Wed Jul 27 10:31:56 CDT 2005


On 27 Jul 2005 at 11:21, Sam Carter wrote:
[...]
> Netscape and Firefox will allow the user to set the radio button by 
> clicking on the label text.
> 
> Is there a method to achieve same result in IE?

include an ID attribute that matches the 'for' attribute of the 
<label>...

if this is for multiple radios/checkboxen in a set, i recomment doing 
something like concatenating the name and value to come up with the 
ID -- because remember, the ID must be unique...



More information about the thelist mailing list