Easy Tutorial
❮ Prop Element Firstelementchild Met Text Select ❯

onkeyup Event

Event Object

Example

Execute JavaScript code when the user releases a keyboard button:


Definition and Usage

The onkeyup event occurs when a keyboard key is released.

Tip: The sequence of events related to the onkeyup event:

Syntax

In HTML:

In JavaScript:

Parameter Description
SomeJavaScriptCode Required. The JavaScript to be executed when the event occurs.

Browser Support

All major browsers support the onkeyup event.


HTML Tags That Support the onkeyup Event:

The onkeyup attribute can be used with all HTML elements, except: <base>, <bdo>, <br>, <head>, <html>, <iframe>, <meta>, <param>, <script>, <style>, and <title>.

❮ Prop Element Firstelementchild Met Text Select ❯