<li><label>Email:</label> <input type='text' name='username'
id="forgot_username" /></li>
<li><label> </label> <input type="submit"
id="forgot_btn" value="Send Reminder" class="btn"></li>
위의 텍스트 상자와 버튼이 jsp에 있습니다. 그리고 아래의 조건, 내가 원하는 것은이 조건이 발생할 때, 텍스트 상자 위에 있고 버튼은 내가 어떻게 할 수 있는지 숨겨야한다는 것입니다.자바 스크립트를 사용하여 jsp 파일의 요소를 숨기는 방법
<c:if test="${param.message == 3}">
<script>
$('#hide').hide();
</script>
<span class="error"><font color="red"> Email does not match</font></span>
</c:if>