I volontari di MDN non hanno ancora tradotto questo articolo in Italiano. Unisciti a noi e traducilo tu stesso.
Puoi anche consultare l’articolo in English (US).

The onkeyup property of the GlobalEventHandlers mixin is an EventHandler that processes keyup events on a given element.

The keyup event is raised when the user releases a key that was previously pressed.

Syntax

element.onkeyup = functionRef

Example

<input type="text" onKeyUp="keyWasPressed(event)">

<script>
  function keyWasPressed(event){
    console.log(event.keyCode);
  }
</script>

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'onkeyup' in that specification.
Living Standard  

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support YesEdge Full support YesFirefox Full support YesIE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support YesOpera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

Tag del documento e collaboratori

Ultima modifica di: mfluehr,