<html><head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>New Page 1</title></head>
<body>
<script  FOR="document" EVENT="onkeyup()">
   status = 'keyup';
</script>
<script  FOR="document" EVENT="onkeydown()">
   status='keydown';
</script>
<script  FOR="document" EVENT="onkeypress()">
   status='keypress';
</script>
Hello
</body>
</html>keyup触发了
你看状态栏
不要用alert()