Stranka/scripty/dano.js
2024-05-29 12:23:19 +02:00

6 lines
200 B
JavaScript

async function dokelu() {
const response = await fetch("/index.php?listfiles=1");
const tabulka = document.getElementById("tabulka");
tabulka.innerHTML = await response.text();
}
dokelu();