回答編集履歴

1

調整

2022/01/11 05:37

投稿

yambejp
yambejp

スコア114572

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',!hide);
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設定は必要そうですね