get init ver
This commit is contained in:
parent
51f0b3d393
commit
e4a7d17094
@ -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));
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user