This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have four radio options and one combo box in my form.
Radio Option 1 Radio Option 10 Radio Option 20 Radio Option 30
What I want is that if i select Radio Option 1, then the combox box should get populated with values 1 through 9. Similarly if i select Radio Option 20, the combo box populates with values 10 through 19 and so on.
How can i achieve this in HTML using Javascript ? Please assist me with the code.
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
0
Remove options from a select
Add An Option
Read a value
Hopefully you can figure out how to use onchange and a for loop to make it work.
Eric
Nitin Sinha
Greenhorn
Joined: May 08, 2008
Posts: 17
posted
0
This is kind of tough to understand this way.. Can you give me some link of working example to explain the same