Initial commit
This commit is contained in:
commit
f702e7a004
13 files changed
+382
No files matched your search
@@ -0,0 +1,11 @@
|
||||
function makeCall(btn) {
|
||||
let makePost = new XMLHttpRequest();
|
||||
postData = { "button": btn };
|
||||
makePost.onreadystatechange = function () {
|
||||
if (makePost.readyState === 4) {
|
||||
document.getElementById("content").innerHTML = makePost.response;
|
||||
}
|
||||
}
|
||||
makePost.open("POST", window.location.href, true);
|
||||
makePost.send(JSON.stringify(postData));
|
||||
}
|
||||
Reference in new issue
Block a user