wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes help in radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "help in radio button " Watch "help in radio button " New topic
Author

help in radio button

Babu Singh
Ranch Hand

Joined: Aug 17, 2009
Posts: 72
i have four radio button in a row.
name and id is same of all four button in a row.
suppose, name and id for all buttons in first row is radiobutton0. for second row it is radiobutton1, for third row it is radiobutton2. thus i have 10 rows in a table.
my aim is when i submit the page, one button must be checked in a row else it show a msg box that please fill the corresponding radio button. .
i want to get the value of radio button either true or false.

i run the following code:

this method execute the loop and display all radiobutton Names.
How i find radiobuttonValue which is either true or false.

thanks.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Get yourself some good references like this one where it says checked

Eric
 
 
subject: help in radio button
 
Similar Threads
onSubmit
How to check the value of Radio buttons Dynimically
crating a table using JSP
getting problem with ValueChangeListner & selection of radiobutton
radio button using javascript DOM