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.
 
Example:
 
<html>

<head>

<title>events </title>

</head>

<body bgcolor=green text=yellow>

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

<blockquote>

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

</blockquote>

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

<script>

function ff()

{

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

}

</script>

</body>

</html>

Check Also

Functions Returning Values In Java Script

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