Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: What is the best way to pick up values from radio button


Message #1 by delcyan@w... on Mon, 10 Jun 2002 23:46:03
document.forms[0].groupname[0].checked

> -----Original Message-----
> From: delcyan@w... [mailto:delcyan@w...]
> Sent: Monday, June 10, 2002 11:46 PM
> To: JavaScript HowTo
> Subject: [javascript_howto] What is the best way to pick up values
from
> radio button
> 
> Hello,
> 
> I am doing a survey with many radio buttons on a form. For each
question,
> there are four radio buttons. After validating the selection from
users, I
> would like to know what is the best way to pick up the radio button
> values. Do I do it in the javascript function and fill a hidden box or
> simply request the information for each radio button on the server?
> 
> Or is there a more user/developer friendly approach to this?
> 
> Thank you
> 
> ---
> 
> Improve your web design skills with these new books from Glasshaus.
> 
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20
> to unsubscribe send a blank email to leave-javascript_howto-
> 1112139T@p...



  Return to Index