In my current JSP, within the HTML section, I have the following:
<select>
<%if(size == 1)%>
<option>None selected</option>
<%if(size > 1)%>
<option>1</option>
</select>
Additionally, I have this image:
<td style="text-align:left">
<label id="checked" style="color:grey; display:none">
<img src="images/check.png" width="20px" height="20px"/>
Checked
</label>
</td>
My query pertains to how I can make the image visible only when the "None selected" option is chosen. If '1' is selected, then I do not want the image to appear. How can I achieve this?