質問編集履歴
1
htmlも載せました
test
CHANGED
File without changes
|
test
CHANGED
@@ -74,6 +74,58 @@
|
|
74
74
|
|
75
75
|
```
|
76
76
|
|
77
|
+
```html
|
78
|
+
|
79
|
+
<!DOCTYPE html>
|
80
|
+
|
81
|
+
<html lang="ja" xmlns:th="http://www.thymeleaf.org"
|
82
|
+
|
83
|
+
xmlns:sec="http://www.thymeleaf.org/extras/spring-security4">
|
84
|
+
|
85
|
+
<head>
|
86
|
+
|
87
|
+
<meta charset="UTF-8">
|
88
|
+
|
89
|
+
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
90
|
+
|
91
|
+
<script src="/js/sampleJs.js" th:src="@{/js/baseSalary.js}"></script>
|
92
|
+
|
93
|
+
</head>
|
94
|
+
|
95
|
+
<body>
|
96
|
+
|
97
|
+
<h1>ページ</h1>
|
98
|
+
|
99
|
+
<form method="post">
|
100
|
+
|
101
|
+
<select id="getMonthsSelect" name="getMonthsSelect" onChange="monthsSelect(this)">
|
102
|
+
|
103
|
+
<option th:each="item : ${getMonthsSelect}"
|
104
|
+
|
105
|
+
th:value="${item.key}"
|
106
|
+
|
107
|
+
th:text="${item.value}">singleSelect</option>
|
108
|
+
|
109
|
+
</select><br>
|
110
|
+
|
111
|
+
</form>
|
112
|
+
|
113
|
+
<form method="post" th:action="@{/baseSalaryUpd}">
|
114
|
+
|
115
|
+
<table id="t1"></table>
|
116
|
+
|
117
|
+
<p><input type="submit" value="更新"></p>
|
118
|
+
|
119
|
+
</form>
|
120
|
+
|
121
|
+
</body>
|
122
|
+
|
123
|
+
</html>
|
124
|
+
|
125
|
+
```
|
126
|
+
|
127
|
+
|
128
|
+
|
77
129
|
|
78
130
|
|
79
131
|
### 試したこと
|