HTML onkeyup Event Attribute
Example
Run a script when a key is released:
Try it »
Browser support





All major browsers support the onkeyup event attribute
Definition and Usage
The onkeyup attribute is triggered when the user releases a key (on the keyboard).
Tip: The event firing order related to the onkeyup event:
- onkeydown
- onkeypress
- onkeyup
Note: The onkeyup attribute cannot be used with the following elements:
, , ,
HTML Event Attributes