I have a function onfocusout()
that runs another function selectEntite()
inside an input like the following code :
<input onfocusout="selectEntite();" type="text" placeholder="Entité" id="entityName" class="inputSelect" name="entityName" style="width: 60%" />
when the user leave the input, the function run. I want to change this behaviour by making it run when the user tap the keyboard enter.