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 Problem to display corresponding List box  when radio button selected 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 "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: 9932
    
159

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.



 
 
subject: Problem to display corresponding List box when radio button selected
 
Similar Threads
Dynamic retrival Of Values
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?