onkeydown

Fires when the user presses a key.

Parameters

ev

The keyboard event

MDN Reference