Why onkeydown attribute doesnt work in my code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
22nd Aug 2023, 8:08 PM
Apple🍎
Apple🍎 - avatar
2 Answers
+ 4
Try this: <input onkeydown="enterFunction(event)">
22nd Aug 2023, 9:53 PM
JaScript
JaScript - avatar
+ 1
Thnx it works now :)
22nd Aug 2023, 10:02 PM
Apple🍎
Apple🍎 - avatar