|
|||||||
| General Discussion and support for your general issues associated with web design. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
setting a radio button to checked
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 |
|
#2
|
||||
|
||||
|
Here's a trivial example but it'll point you in the right direction:
Code:
<label onmouseover="this.firstChild.checked = true" onmouseout="this.firstChild.checked = false"><input type="checkbox">Foo</label>
__________________
“The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.” —Tim Berners-Lee, W3C Director and inventor of the World Wide Web |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|