[thelist] Radio selection showing results in text box

nate koechley nate at vicksburgcollective.com
Thu Aug 30 18:57:54 CDT 2001


hi annie,

i think this is what you want. 
http://vicksburgcollective.com/forfun/formtest.html

it's not the most elegant js -- but it should work. tested on pc/ns 4.7 and 
pc/ie 5.

here's the short of it, but click the link for the full story:
onclick="document.foobar.radiovalue.value = '40';"

cheers
nate


>When the user clicks on the radio button, I'd like the appropriate score for
>that radio button to show up in the corresponding text box automatically.
>Anyone know how? :P
>
>TIA
>
>Annie





More information about the thelist mailing list