splot js + db

This commit is contained in:
pawel 2024-05-17 10:12:11 +02:00
parent 364c6f3ca9
commit c9adecf9b0
1 changed files with 8 additions and 0 deletions

8
js.js
View File

@ -1,3 +1,11 @@
const url = "http://localhost/15.05/get.php"
fetch( url + 'get.php')
.then(response => response.json())
.then( data => {
console.log(data)
})
function sortujSufiksy() { function sortujSufiksy() {
const slowo = document.getElementById('slowo').value; const slowo = document.getElementById('slowo').value;
const sufiksy = []; const sufiksy = [];