Implémenter page web de scan de présence
Voir diff pour détails
This commit is contained in:
parent
c6f3a52f91
commit
c218860e33
10 changed files with 139 additions and 10 deletions
1
webcontent/js/htmx.min.js
vendored
Normal file
1
webcontent/js/htmx.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
14
webcontent/js/membreid-selected-and-cleared.js
Normal file
14
webcontent/js/membreid-selected-and-cleared.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
function clearInput(inputId) {
|
||||
document.getElementById(inputId).value = '';
|
||||
};
|
||||
|
||||
function focusInput(inputId) {
|
||||
document.getElementById(inputId).focus();
|
||||
};
|
||||
|
||||
window.onload = function() {
|
||||
inputId = "membre_id";
|
||||
|
||||
clearInput(inputId);
|
||||
focusInput(inputId);
|
||||
};
|
Reference in a new issue