diff --git a/js.js b/js.js index 6f31706..c3cdc70 100644 --- a/js.js +++ b/js.js @@ -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() { const slowo = document.getElementById('slowo').value; const sufiksy = [];