wip trying to create better options to include scripts with attributes
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user