Hi All,

In my jsp page, I am getting the data from Ms-sql for 3 combos.first 2 combos are independent, like course,location. either i can select course or location in 3rd combo i need to display the name of student. I was not able to pass the two combo values to 3rd combo. Anybody please suggest me regarding this.

Thanks,
Rekha

You need to better explain your problem. You say that:
"I am getting the data from Ms-sql for 3 combos". If you have read the data for those combo boxes just display them.

Or are you reading the elements of the combo boxes from the database.
When you select a value at the first 2 combos, what are your requirements regarding how the 3rd combo would be displayed

You will need to use Ajax or jQuery and its asynchronous calls to either directly query database or call some server side method to do it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.