<script>
// Author: Hutia
function chkKey(e){
var e=window.event?window.event:e;
var srcEle=e.srcElement?e.srcElement:e.target;
var eType=e.type;
srcEle.value+="\\r\\nEvent:"+eType+";\\tKey Code:"+e.keyCode+"\\t";
e.returnvalue=false;
}
</script>
<textarea onkeydown="chkKey(arguments[0]);" onkeyup="chkKey(arguments[0]);" onkeypress="chkKey(arguments[0]);" style="width:98%; height:400px;overflow:auto;">
</text_area>
更多信息请查看IT技术专栏