Execute a JavaScript when a user releases a key:
![]()
The onkeyup event attribute is supported in all major browsers.
The onkeyup attribute fires when the user releases a key (on the keyboard).
Tip: The order of events related to the onkeyup event:
Note: The onkeyup attribute CANNOT be used with: <base>, <bdo>, <br>, <head>, <html>, <iframe>, <meta>, <param>, <script>, <style>, or <title>.
None.
| Value | Description |
|---|---|
| script | The script to be run on onkeyup |
HTML Event Attributes
Your message has been sent to W3Schools.