By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,784 Members | 1,307 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,784 IT Pros & Developers. It's quick & easy.

i want to show drop down list value to the next page in jsp.

P: 2
have two pages 1)index.jsp and 2)first.jsp.i have drop down list in index.jsp page i want if i choose any value from drop down list it should show the selected value to the next page that is first.jsp.

coding of drop down list goes as....

Expand|Select|Wrap|Line Numbers
  1. <h4>Plant: <select name="plants" onchange="location.href=f1.plants.options[selectedIndex].value">
  3. <option>Select</option>
  4. <option value="First.jsp"><b>A</option></b>
  5. <option value="First.jsp"><b>B</option></b>
  6. <option value="First.jsp"><b>C</option></b>
  7. </select>

please somebody help me...i got stuck.
thank you
Sep 13 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.