Hi there,
I have some radio buttons with text beside them. I want to be able to click on the button or the text to select the radio button. No problem not using struts:
What's the right way to do this using Struts? I tried adding an id attribute to the <html:radio />, but it didn't work.
Thanks
________________________
JoelMac
I have some radio buttons with text beside them. I want to be able to click on the button or the text to select the radio button. No problem not using struts:
Code:
<input type="radio" name="rdoThing" id="rdoThing1" value="1"/> <label for="rdoThing1">Thing 1</label><br/>
<input type="radio" name="rdoThing" id="rdoThing2" value="2"/> <label for="rdoThing2">Thing 2</label>
What's the right way to do this using Struts? I tried adding an id attribute to the <html:radio />, but it didn't work.
Thanks
________________________
JoelMac