aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

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

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

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

-----------------------------------------

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,

sachin.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60078
    
  65

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem of 2 select box
 
Similar Threads
problem with runing query using 2 selectbox
Getting ListBox selection on Serverside
taglibs problem
raw HTML in Mozilla
Any Suggestion about a small project?