Event onkeyup

Event onkeyup

<html>
<head>
<script>
function writeMessage()
{
document.forms[0].mySecondInput.value=document.forms[0].myInput.value;
}
</script>
</head>
<body>
<p>The onkeyup event occurs when the a keyboard key is on it’s way UP.</p>
<form>
Write a message:<br />
<input onkeyup=”writeMessage()” size=”20″>
<input name=”mySecondInput” size=”20″>
</form>
</body>
</html>

OUTPUT:

The onkeyup event occurs when the a keyboard key is on it’s way UP.

Write a message:



DOWNLOAD SOLUTION HERE