We would like to know how to handle key up event.
<!-- w w w . j ava 2 s .co m-->
<html>
<head>
<script language="JavaScript1.2">
function showDialog(){
console.log("A key was released");
}
</script>
</head>
<body>
<form name="myForm">
<textarea name="myTextArea" rows=2 cols=50 onKeyUp='showDialog()'>
Here is some text in my text area.
</textarea>
</form>
</body>
</html>
The code above is rendered as follows: