Dropdown Show Hide Div Event in JSP
<select onchange="showMe(this);">
<option>Hide</option>
<option>Show</option>
</select>
<input id="idShowMe" style="display: none">
<b>Hello world!</b>
</input>
Run code snippet
Uptight Unicorn