get init ver

This commit is contained in:
u2 2025-02-12 14:09:49 +01:00
parent 51f0b3d393
commit e4a7d17094

View File

@ -0,0 +1,20 @@
document.addEventListener('DOMContentLoaded', function() {
// const imieSelect = document.getElementById('imie');
imieSelect.addEventListener('focus', function() {
fetch('get.php')
.then(response => response.json())
.then(data => {
/*
usersData = data;
imieSelect.innerHTML = "";
data.forEach(dane => {
});
*/
})
.catch(error => console.error('Error fetching data:', error));
});
});