Skip to Content
Aug 03, 2005 at 02:15 PM

How do I make Radio Button label clickable?


In just plain HTML, the following code will allow me to click on the radio button label text to select that radio button:

<label for="radio1">Radio Button label</label>

<input type="radio" value="Selected" id="radio1" />

How can I do the same thing using HTMLB?

<htmlb:radioButton id = "buttonAll"

text = "All"

key = "ALL"

tooltip = "View All" />

Wrapping the htmlb:radioButton with a <label></label> does not work - any ideas?