Horje

Example of HTML onkeydown Event Attribute

It will Execute a JavaScript when a user is pressing a key.
index.html
Example: HTML
 <input type="text" onkeydown="myFunction()"> 

Output should be:

Example of HTML onkeydown Event Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Keyboard Events Attribute
Uploaded by:
Admin