돌아가기 처리
This commit is contained in:
parent
218a426ee8
commit
cd5f598fff
@ -9,17 +9,21 @@
|
|||||||
<br />
|
<br />
|
||||||
메시지 : ${message}
|
메시지 : ${message}
|
||||||
|
|
||||||
<button name="btnGoBack" id="" onclick="fn_goback()" value="돌아가기" title="돌아가기" />
|
<br />
|
||||||
|
<br />
|
||||||
|
<button name="btnGoBack" id="btnGoBack" onclick="fn_goback()" value="돌아가기" title="돌아가기">돌아가기</button>
|
||||||
|
|
||||||
<form name="gobackForm" id="gobackForm" />
|
<form name="gobackForm" id="gobackForm">
|
||||||
|
</form>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function fn_goback() {
|
function fn_goback() {
|
||||||
<c:if test="${empty goBackUrl}">
|
<c:if test="${empty goBackUrl}">
|
||||||
history.back();
|
history.back();
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${not empty goBackUrl}">
|
<c:if test="${not empty goBackUrl}">
|
||||||
$("#gobackForm").submit("${goBackUrl}");
|
$("#gobackForm").attr("action", "${goBackUrl}");
|
||||||
|
$("#gobackForm").submit();
|
||||||
</c:if>
|
</c:if>
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
Loading…
Reference in New Issue
Block a user