We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

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


element.onkeyup = event handling code


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


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


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

Browser Compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) (Yes) ? ? ? ?
Feature Android Android Webview Edge Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support ? (Yes) (Yes) ? ? ? ? ? (Yes)


 最終更新者: erikadoyle,