This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Selecting Combo Box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Selecting Combo Box" Watch "Selecting Combo Box" New topic
Author

Selecting Combo Box

Aravind Prasad
Ranch Hand

Joined: Dec 28, 2005
Posts: 263
Dear Ranchers,
I'm doing a Human Resource Management System in JSP and Oracle. In my JSP Page, there are 2 Fields

1. Department
2. Designation

When the Page loads, I have the departments under that for egs
Department
- IT
- Operations
- Accounts
- Administration
- Sales
- Business Development

These details are fetched from the database.

When I select IT in the first Combo Box, the corresponding values should come in the second combo box, selected fromt the database without refreshing the page

Designation
- System Administrator
- Network Engineer
- Programmer
- Backup Operator

I know, it is related something to AJAX and also I don't know any thing in AJAX. Please help me with your enriched ideas.

Thanks/Regards

Aravind Prasad
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Normally called a double combo. Good place to start is to look at Google for http://www.google.com/search?q=Ajax+Double+Combo

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Selecting Combo Box
 
Similar Threads
complicated combo boxes with Ajax
populate the select when page is displayed first time
ask for the pass value
Combobox Problem
How to display Ajax result on the same jsp page