splot js + db
This commit is contained in:
parent
364c6f3ca9
commit
c9adecf9b0
8
js.js
8
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() {
|
function sortujSufiksy() {
|
||||||
const slowo = document.getElementById('slowo').value;
|
const slowo = document.getElementById('slowo').value;
|
||||||
const sufiksy = [];
|
const sufiksy = [];
|
||||||
|
|
Loading…
Reference in New Issue