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.
The moose likes HTML, CSS and JavaScript and the fly likes Problem to display corresponding List box  when radio button selected Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Problem to display corresponding List box  when radio button selected" Watch "Problem to display corresponding List box  when radio button selected" New topic
Author

Problem to display corresponding List box when radio button selected

Sree Mami
Ranch Hand

Joined: Jul 13, 2006
Posts: 75
Hi all,
Can anyone give me a suggestion how to crack this task:
I have three radio buttons of a group: Employee wise, Dept wise, Shift wise
If I select one radio button I have to display corresponding Dropdown list box in the next
row. i.e.,
First Row consists of: Radio buttons, Employee wise, Dept wise, Shift wise
Second Row consists of: 1 Dropdown list box - It can belong to either of the Radio button's
depending on the selection made.

If I have three dropdown list boxes I need to display only one list box which belongs to
the selected radio button. Have to hide the other two.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 8145
    
  52

Is this what you want:



[My Blog] [JavaRanch Journal]
Sree Mami
Ranch Hand

Joined: Jul 13, 2006
Posts: 75
Hi Jai Kiran

Thanks a lot.. It was exactly what I was looking for...


U have helped me a lot, though it's a small piece of code for you, I am struggling hard for that since morning....


Thanks a lot again.



 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem to display corresponding List box when radio button selected
 
Similar Threads
help in radio button
List Of Radio buttons with other option
How to add items in the dropdown list dynamically on radio button selection
How to find to which row is selected?
Dynamic retrival Of Values