Click to See Complete Forum and Search --> : setting a radio button to checked


tedpghMayo
01-19-2006, 02:15 PM
I have two radio buttons in my JSP form. I need to set one depending on the value of a parameter passed in. Can anyone shed some light?

Ted

Charles
01-19-2006, 02:42 PM
Here's a trivial example but it'll point you in the right direction:<label onmouseover="this.firstChild.checked = true" onmouseout="this.firstChild.checked = false"><input type="checkbox">Foo</label>