Home >> Javascript >> Onkeydown event in Javascript

Onkeydown event in Javascript

The user push a keyboard key.
<script type = "text/javascript">
    function myFunction() {
        alert("Hello Bro");
    }
</script>
<input type="text" onkeydown="myFunction()">

Post Your Comment

Next Questions
Onload event

Copyright ©2022 coderraj.com. All Rights Reserved.