|
| I have a tablecell and i would like to select the radio button within that cell when the user clicks on the cell How do i change the value of a radio button? |
| Radioref.value ? |
| Well, i tried doing document.form.radio.value but the problem is that "radio" is a variable that contains the name of the radio button to be changed |
| Roombor, document.forms[formname].elements[radioname].value |
| Oh, let me try that no luck |
| `secret What's supposed to happen? |
| click on a table cell containing the radio button, the radio button selects |
| Roombor, oh, radioref.selected = true; |
| Hm... let me try something Didn't work This shouldn't be this hard it's working, had to do checked instead of selected |
| Roombor, ah, I always get that mixed up |