<script type="text/javascript" language="javascript">
function getKeyCode(){
//弹出键值 alert(event.keyCode); }
//键盘按下事件 document.onkeydown=getKeyCode;
</script>