JSP Html show, hide
JSP에서도 asp와 같이 html안에서 jsp소스를 이용하여 특정 섹션(html 소스)이나 버튼 등을 보이고 안보이게 하는 작업이 가능하다.
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> // 선언
<c:if test="${param.type eq '' }"><!-- 전체고객을 보여주고 고객을 추가 -->
<input type="button" value="선택고객추가" class="btn_common" onclick="pageAction.insertPopCampaignCustomer();"/>
</c:if>
<c:if test="${param.type ne '' }"><!-- 해당고객을 보여주고 고객을 삭제 -->
<input type="button" value="선택고객제거" class="btn_common" onclick="pageAction.deletePopCampaignCustomer();"/>
</c:if>
이상으로 JSP Html show, hide에 대해서 알아보았습니다.
하여 오늘은 JSP Html show, hide에 대해서 알아보겠습니다.
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> // 선언
<c:if test="${param.type eq '' }"><!-- 전체고객을 보여주고 고객을 추가 -->
<input type="button" value="선택고객추가" class="btn_common" onclick="pageAction.insertPopCampaignCustomer();"/>
</c:if>
<c:if test="${param.type ne '' }"><!-- 해당고객을 보여주고 고객을 삭제 -->
<input type="button" value="선택고객제거" class="btn_common" onclick="pageAction.deletePopCampaignCustomer();"/>
</c:if>
이상으로 JSP Html show, hide에 대해서 알아보았습니다.
댓글
댓글 쓰기