回答編集履歴
1
調整
test
CHANGED
@@ -20,9 +20,9 @@
|
|
20
20
|
|
21
21
|
hide=await fetch(url+param).then(res=>res.json()).then(x=>x.hide);
|
22
22
|
|
23
|
-
btn.value=hide?"
|
23
|
+
btn.value=hide?"表示":"非表示";
|
24
24
|
|
25
|
-
hoge.toggleAttribute('hidden',
|
25
|
+
hoge.toggleAttribute('hidden',hide);
|
26
26
|
|
27
27
|
}
|
28
28
|
|
@@ -72,6 +72,6 @@
|
|
72
72
|
|
73
73
|
print json_encode($data);
|
74
74
|
|
75
|
-
|
75
|
+
```
|
76
76
|
|
77
|
-
|
77
|
+
クッキーのsamesite設定は必要そうですね
|