0

Who to insert a value without tap on "enter"?

hello, I'm a little beginner who want to experiment a program with the html language. The goal is to generate a event when the user press a element of the keyboard, without touch on 'enter' afterward for insert the value on my program...anyone has a idea for this problem? Sorry if it is not clear also! Have a nice day!

29th Dec 2021, 8:12 PM
shado sekai
shado sekai - avatar
6 Respuestas
+ 2
shado sekai use manual function to complete this process Example : Using Keydown event, check length and manipulate the textbox value using setTimeout function for every milli sec.
29th Dec 2021, 9:40 PM
Manimaran K
Manimaran K - avatar
+ 2
Did you complete the JavaScript tutorial? Input handling is done in JavaScript, not HTML.
30th Dec 2021, 2:08 AM
Emerson Prado
Emerson Prado - avatar
+ 2
in the first place thank you again everyone!! then I have already known the utilization of the input event in html (or java). Finally, I have the impression the idea with the "keydown" is maybe the solution of my problem! I Will try this when the time will be available!
30th Dec 2021, 7:42 AM
shado sekai
shado sekai - avatar
+ 1
You could use onChange event, like in this code: Line 139 https://code.sololearn.com/WjkXoXO9RX42/?ref=app hmm I don't know if I understood well what you are asking..😅
29th Dec 2021, 8:23 PM
CGM
CGM - avatar
29th Dec 2021, 9:12 PM
Moshe Schnitzler
Moshe Schnitzler - avatar
0
I really appreciate your suggestion but it is not really this thing I try to do...It's my fault I think (Too complicated To explain I guess aha). Thank you so much for your answer! (and sorry)
29th Dec 2021, 9:05 PM
shado sekai
shado sekai - avatar