From c701f0e8171aee9993474b298f96db4b101c82f9 Mon Sep 17 00:00:00 2001 From: Woody Date: Sat, 7 Nov 2020 11:01:57 +0100 Subject: [PATCH] deleted unneccecary code --- data/index.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/data/index.html b/data/index.html index 97f7f05..1528a65 100644 --- a/data/index.html +++ b/data/index.html @@ -195,11 +195,6 @@

Settings

xhr.open("POST", '/json', true); //Send the proper header information along with the request xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); - xhr.onreadystatechange = function () { // Call a function when the state changes. - if (this.readyState === XMLHttpRequest.DONE && this.status === 200) { - // Request finished. Do processing here. - } - } xhr.send("json=" + json); }