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 problem of 2 select 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
Reply locked New topic

problem of 2 select box

sachin yadav
Ranch Hand

Joined: Nov 24, 2005
Posts: 156
hi, i have a problem. i had a form with 2 <select>boxes. named as--->

<select name="class"><option>------</option>

<select name="section"><option>------</option>


i have two tables. i have to select a class name from first select box and then a query must fired which will check how many sections for that class exists in the table, for ex. if for class "1" we have section "a" and "b" then in the next selection box only 2 options as "a" and "b" must appear, if there are 3 section then "a","b","c" must appear.

i wana code this in JSP. how shud i do??

thanx n regards,

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: problem of 2 select box
jQuery in Action, 3rd edition