質問編集履歴
1
コード修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
-
<input type="button" value="保存" onclick="save(
|
39
|
+
<input type="button" value="保存" onclick="save()" />
|
40
40
|
|
41
41
|
<s:submit id='update' method="update" value="update"/> //非表示のボタン
|
42
42
|
|
@@ -44,21 +44,11 @@
|
|
44
44
|
|
45
45
|
```javascript
|
46
46
|
|
47
|
-
function save(
|
47
|
+
function save() {
|
48
|
-
|
49
|
-
|
50
48
|
|
51
49
|
var res = window.confirm("更新します。よろしいですか?");
|
52
50
|
|
53
|
-
if(res){
|
54
|
-
|
55
51
|
document.getElementById('update').click();
|
56
|
-
|
57
|
-
}else{
|
58
|
-
|
59
|
-
DisableBtn_off(b);
|
60
|
-
|
61
|
-
}
|
62
52
|
|
63
53
|
}
|
64
54
|
|