Breaking News
yeni film izle hd film seyret film izle

Onkeyup event In Java Script

This event occurs when a key is pressed from the keyboard and pressure from the key gets removed. When the key comes up or there is no more pressure is on the key this event gets fired. If a key is pressed for a long and the character got printed on screen 20 times this event will get fired only once when the finger will be removed from that key.


<title>events </title>


<body bgcolor=green text=yellow>

<h4 align =center> Type character in the textbox </h4>


You will notice that the dialogbox appears   before the character appears in the textbox


name : <input type=”text” name=”t1″ onkeydown=”ff()”>


function ff()


alert(“ASCII Code of the key you pressed :”+   event.keyCode)





Check Also

Functions Returning Values In Java Script

Function is a set of statements recognized by a name and can be used as …