version 1.26, 2024/03/28 19:19:40 |
version 1.31, 2024/03/28 19:50:37 |
Line 49 async function sendData() { |
|
Line 49 async function sendData() { |
|
turnstile.render('#cfcontainer', { |
turnstile.render('#cfcontainer', { |
theme: 'light', |
theme: 'light', |
sitekey: '0x4AAAAAAAVpXFEy152AON1L', |
sitekey: '0x4AAAAAAAVpXFEy152AON1L', |
|
'response-field': false, |
|
retry: 'never', |
'error-callback': function(e) { |
'error-callback': function(e) { |
turnstile.remove(); |
turnstile.remove(); |
}, |
}, |
Line 56 async function sendData() { |
|
Line 58 async function sendData() { |
|
ii.textContent="Sent"; |
ii.textContent="Sent"; |
console.log(`Challenge Success ${token}`); |
console.log(`Challenge Success ${token}`); |
// postData(); |
// postData(); |
var data=`${token}|${em}|${su}|${ms}`, |
var data="", |
status=""; |
status=""; |
$.post("/feedbk/", function(data, status){ |
$.post("/feedbk/", token, function(data, status){ |
alert("Data: " + data + "\nStatus: " + status); }); |
console.log("Data: " + data + "\nStatus: " + status); |
|
}); |
|
|
|
|
|
|