|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Getting values from radio buttons
Scenerio,
First page consists of Main Categories as heading and sub categories are placed beneith the categories column...now each sub category has three radio buttons in front of it...user has to click only one out of it Q no. 1 what could be the database schema ? Q no 2 how can i get the values of the checked radio buttons in the next page ? Q no 3 as the sub categories are so many in number is their any way i can dynamically create radio buttons along with the sub categories ? |
|
#2
|
|||
|
|||
|
RE: Getting values from radio buttons
I'd like to answer you question #2.
Say you have set of radio buttons in this manner: Code:
<input type=radio name="myRadio" value="Ricky"> Ricky <br /> <input type=radio name="myRadio" value="Darren"> Darren <br /> <input type=radio name="myRadio" value="Glenn"> Glenn <br /> You could retirve the selected radio button like: |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Programming Theory > Getting values from radio buttons |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|