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!
6 Answers
+ 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.
+ 2
Did you complete the JavaScript tutorial? Input handling is done in JavaScript, not HTML.
+ 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!
+ 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..đ
+ 1
Use input event
https://code.sololearn.com/WJGyeQ20PzV4/?ref=app
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)