Click to See Complete Forum and Search --> : radio buttons


yellowboy
06-09-2003, 05:43 PM
i want to make a quiz but don't like any of the wizards out on the web...i would prefer not to use cgi but just javascript...i think i can handle everything except i cannot get the script to add to different variables depending on which radio button is highlighted in a set of buttons...what is the coding to see if it is highlighted? the code will just take add up numbers for each button pressed to different variables and the highest number will then go to a page associated with it.

BrainDonor
06-09-2003, 05:45 PM
See this post...

http://forums.webdeveloper.com/showthread.php?s=&threadid=10838

yellowboy
06-09-2003, 06:04 PM
excellent, thanks....but for future reference what is the command for whether or not a radiobutton is checked?

BrainDonor
06-09-2003, 06:35 PM
you mean this?

<INPUT type="radio" value=1 checked>