Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

I volontari di MDN non hanno ancora tradotto questo articolo in Italiano. Registrati per tradurlo tu.

The onkeyup property returns the onKeyUp event handler code for the current element.

Syntax

element.onkeyup = event handling code

Example

 <input type="text" onKeyUp="keyWasPressed(event)">
 <script>function keyWasPressed(evt){ console.log(evt.keyCode) }</script>

Notes

The keyup event is raised when the user releases a key that's been pressed.

Specifications

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

Tag del documento e collaboratori

 Hanno collaborato alla realizzazione di questa pagina: cvrebert, Sebastianz, teoli, kosvrouvas, kscarfone, Sheppy, ziyunfei, fscholz, Pitoutompoilu, Rtconner, Mgjbot, Jan Dudek, Dria, JesseW
 Ultima modifica di: cvrebert,