onKeyUp
onKeyUpイベントはキーを押して離した時に発生するイベントです。
以下、テキストフィールドでキーを押して離すとアラートが表示されます。
ソース
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
function a(){
alert("キーを離しました");
}
</script>
<input type="text" name="txt" onKeyUp="a()">
</body>
</html>