42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns:th="http://www.thymeleaf.org">
|
|
|
|
<head>
|
|
|
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
|
<!-- 外部のスクリプトファイルを読み込む -->
|
|
<script th:src="@{/js/common.js}"></script>
|
|
<!-- CSSの読み込み -->
|
|
<link rel="stylesheet" th:href="@{/css/all.css}">
|
|
<link rel=stylesheet th:href="@{/css/style.css}" type="text/css">
|
|
<title>更新完了</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h2>更新が完了しました</h2>
|
|
<br/>
|
|
<a href="javascript:backSubmit()">戻る</a>
|
|
</body>
|
|
|
|
<script type="text/javascript">
|
|
function backSubmit() {
|
|
const form = document.createElement('form');
|
|
form.setAttribute('method', 'post');
|
|
form.setAttribute('action', 'updatePersonalEmployeeResult');
|
|
|
|
// 動的送信用のHidden
|
|
// 動的にFormを作成する場合は何かしら送信しないと、正しく動作しない
|
|
const inputField = document.createElement("input");
|
|
inputField.setAttribute("type", "hidden");
|
|
inputField.setAttribute("value", "updatePersonalEmployeeResult");
|
|
|
|
form.appendChild(inputField);
|
|
|
|
// フォームをDOMに追加
|
|
document.body.appendChild(form);
|
|
|
|
form.submit();
|
|
}
|
|
</script>
|
|
|
|
</html> |