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