File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes CheckBoxes and RadioButtons Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "CheckBoxes and RadioButtons" Watch "CheckBoxes and RadioButtons" New topic
Author

CheckBoxes and RadioButtons

Vineela Devi
Ranch Hand

Joined: Dec 20, 2003
Posts: 191
Hi,

How can i get the value of the selected option for radiobuttons or check boxes?

Thanks in Advance

Vineela
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
document.formname.checkboxName.value
document.formname.radioName[indexNumber].value
 
 
subject: CheckBoxes and RadioButtons
 
Threads others viewed
How can i insert JRadioButton to Cell in JTable
inconsistency in radiobutton
Enabling/Disabling a radiobutton based on response of another radiobutton
JRadio Btn
Use of RandomAccessFile class under Swing
IntelliJ Java IDE