0
How can I restrict input type Time to only 9am to 5pm?
I searched for a solution but I couldn't find anything. Thank you for helping.
2 Réponses
+ 5
Use `min` and `max` attributes.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time
+ 3
inputElement.onchange = function(){
....
}
https://code.sololearn.com/Whx56y82JuTr/?ref=app