version 1.28, 2024/03/28 19:25:29 |
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("cfem=id@host.name&cfsu=subject&cfme=contact me, please", status){ |
$.post("/feedbk/", token, function(data, status){ |
console.log("Data: " + data + "\nStatus: " + status); |
console.log("Data: " + data + "\nStatus: " + status); |
}); |
}); |
|
|