Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

problem of 2 select box

 
sachin yadav
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 65116
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
    Bookmark Topic Watch Topic
  • New Topic