回答編集履歴
1
chousei
answer
CHANGED
@@ -6,7 +6,6 @@
|
|
6
6
|
form.addEventListener("submit", (e) => {
|
7
7
|
e.preventDefault();
|
8
8
|
const nWin=window.open("","nWin");
|
9
|
-
nWin.onload=()=>{console.log(1)}
|
10
9
|
e.target.submit();
|
11
10
|
setTimeout(()=>nWin.close(),100);
|
12
11
|
setTimeout(()=>location.reload(),200);
|