This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
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: 63211
    
  69

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: problem of 2 select box
 
It's not a secret anymore!