Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
HTML DOM Events
The onkeypress Event
A function is triggered when the user is pressing a key in the input field.