What, what I try to imply is that I need the user to select a date and without clicking on the me button of the selected date, I have searched for events in JS but I am a bit lost, someone could advise me by please, thank you very much ..
I share the code:
I have a date where the user will choose:
<div class="col-md-12">
<label>FECHA: </label>
<input type="date" name="fecha" id="fecha" required>
</div>
I need to know the date you chose to know which day of the week you selected, but I need you to do it when you select the date because now you do it until you click on the button, but I need to do it without giving click on the button.
After the date, follow this code, what I do is compare your time of entry or exit, depending on the case ... I hope to understand ...