onkeydown example javascript Example: javascript onkeydown <input type="text" onkeydown="myFunction()">