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