<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>