I my
JSP, I have two drop down list, I want to enable or disable the second drop down list based on the selection from first drop down list, how I can implement this in JSP?
Here are the two drop down list.
<tr>
<td colspan="2" align="left">
<html:select property="selectedVerification">
<html
ption value="">--please select a verification--</html
ption>
<html
ption value="0"> Scores Verification </html
ption>
<html
ption value="1"> Enrollment Verification </html
ption>
<html
ption value="2"> Semester GPA Verification</html
ption>
<html
ption value="3"> Degree Verification</html
ption>
</html:select>
<div id="theSpot"/>
</td>
</tr>
<tr>
<td colspan="2" align="left">
<select name="selectedSession">
<option value="">----please select a session----</option>
...........
</td>
</tr>
I want to enable the second dropdown list only when user selected Semester GPA Verification.
Thanks for your help!