File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Selecting Combo Box" Watch "Selecting Combo Box" New topic

Selecting Combo Box

Aravind Prasad
Ranch Hand

Joined: Dec 28, 2005
Posts: 265
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
- 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

- 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.


Aravind Prasad
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Normally called a double combo. Good place to start is to look at Google for

I agree. Here's the link:
subject: Selecting Combo Box