![]() ![]() | ![]() |
version 1.69, 2024/03/30 18:02:07 | version 1.70, 2024/03/30 18:04:36 | ||
---|---|---|---|
|
|
||
body: dataToSend | body: dataToSend | ||
}) | }) | ||
.then(response => response.json()) | .then(response => response.json()) | ||
.then(json => console.log(json)) | // .then(json => console.log(json)) | ||
.then(json ==> ii.textContent=json['msg']) | |||
ii.textContent=json['msg']; | // ii.textContent=json['msg']; | ||