wip trying to create better options to include scripts with attributes

This commit is contained in:
asus
2024-02-27 01:54:46 +01:00
parent 0177531924
commit 81f3f8a7e7
11 changed files with 60 additions and 18 deletions

View File

@@ -10,7 +10,7 @@ sendButton.addEventListener('click', () => {
inputValue = JSON.stringify(inputValue);
console.log("inputValue:");
console.log(inputValue);
PLGNTLS_ajax('get_data', inputValue)
PLGNTLS_fetch('/get_data', {inputValue})
//PLGNTLS_fetch('get_data', {body: {inputValue}})
.then((response) => response.json())
.then((data) => {