锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产女同一区二区,在线日韩一区二区,99久久精品免费看国产小宝寻花http://www.aygfsteel.com/hunter129/category/29120.html涓撴敞浜巜eb2.0zh-cnTue, 04 Mar 2008 08:18:30 GMTTue, 04 Mar 2008 08:18:30 GMT60嫻嬭瘯浣犳寜涓嬬殑鏄偅涓寜閿?闄?ascii緙栫爜琛?http://www.aygfsteel.com/hunter129/archive/2008/02/02/179059.html钀絅icety钀絅icetySat, 02 Feb 2008 09:00:00 GMThttp://www.aygfsteel.com/hunter129/archive/2008/02/02/179059.htmlhttp://www.aygfsteel.com/hunter129/comments/179059.htmlhttp://www.aygfsteel.com/hunter129/archive/2008/02/02/179059.html#Feedback2http://www.aygfsteel.com/hunter129/comments/commentRss/179059.htmlhttp://www.aygfsteel.com/hunter129/services/trackbacks/179059.html 鍏朵腑鐨刢harCode鏄牴鎹產(chǎn)scii琛ㄨ漿鎹㈢殑錛屼笉涓瀹氬噯紜?br />
keyCode :
charCode :
shift-key :
ctrl-key :
alt-key :

涓嬮潰鏄痑scii緙栫爜琛細
ascii緙栫爜琛? style=
婧愪唬鐮侊細
<script type="text/javascript">
function showKey(e){
= e || window.event;
document.getElementById(
"keyCode").value = e.keyCode;
document.getElementById(
"charCode").value = String.fromCharCode(e.keyCode);
document.getElementById(
"shiftKey").value = e.shiftKey;
document.getElementById(
"ctrlKey").value = e.ctrlKey;
document.getElementById(
"altKey").value = e.altKey;
}
$(document).ready(
function(){
document.onkeydown 
= showKey;
});
</script>
<br />
<table>
    
<tbody>
        
<tr>
            
<td>keyCode : </td>
            
<td><input id="keyCode" type="text" /> </td>
        
</tr>
        
<tr>
            
<td>charCode  : </td>
            
<td><input id="charCode" type="text" /> </td>
        
</tr>
        
<tr>
            
<td>shift-key : </td>
            
<td><input id="shiftKey" type="text" /> </td>
        
</tr>
        
<tr>
            
<td>ctrl-key : </td>
            
<td><input id="ctrlKey" type="text" /> </td>
        
</tr>
        
<tr>
            
<td>alt-key : </td>
            
<td><input id="altKey" type="text" /> </td>
        
</tr>
    
</tbody>
</table>
鍏朵腑鎴戜嬌鐢ㄤ簡jquery鏉ュ垵濮嬪寲document鐨刼nkeydown浜嬩歡銆傚鏋滀綘涓嶄嬌鐢╦query鍙互鐢ㄤ笅闈㈣繖孌典唬鐮?br />
window.onload = function(){
  document.onkeydown 
= showKey;
};

浠f浛
$(document).ready(function(){
document.onkeydown 
= showKey;
});



钀絅icety 2008-02-02 17:00 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 裕民县| 仪征市| 昭苏县| 汝南县| 嘉祥县| 郎溪县| 岚皋县| 桦甸市| 昌乐县| 临湘市| 会理县| 宜兰县| 威宁| 霍山县| 浦东新区| 茶陵县| 天门市| 安达市| 辽中县| 黔东| 扶绥县| 云阳县| 怀宁县| 讷河市| 六盘水市| 丹棱县| 舒兰市| 筠连县| 商都县| 教育| 沾化县| 五原县| 中牟县| 包头市| 台前县| 巴中市| 连南| 罗城| 白城市| 社旗县| 大悟县|