Aspects


vs


Home Page
About Us
Feedback

Onkeydown

This event is triggered when when the user is pressing a key or holding down a key.

Onkeyup

This is a JavaScript event that fires upon releasing a keyboard key.



Others

Example

Usually onkeydown is more preferable then onkeyup for such combo

from question  

Delphi: Cannot capture Ctrl+C if user pressed the sequence too quickly

For browsers that don t support either event you can fall back to onkeydown with a 0ms timer for the check which is a little better than onkeyup

from question  

Javascript form validation "onKeyup vs on keydown"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0