-2
Good morning/ Good afternoon/ Good evening
Here is my problem: I need that as the user goes typing in the field my function is triggered, without need to give a Submit. I’m trying to use the change event, only it only triggers the function after the change of focus of that field.
follows what I’m trying to do:
form.addEventListener('change', function(e) {...}
So I’d like to know if there’s a specific event for that that I want,.
Grateful!
Hello, You can use the keyup events (triggered immediately after the user takes his finger off the pressed key), or keydown (triggered ineditely after the user enters something)
– Carltee
" as the user enters " if the user is typing must be an input, textarea, etc... pq is adding the event to the
form
? should be in the element change– Ricardo Pontual