The onkeydown event occurs when the a keyboard key is on it's way DOWN.
Enter your name:
Your Result:
上のテキストを編集し、クリックして結果を見てください。
W3Schools.com
- Try it yourself