锘??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 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 南京市| 阜宁县| 七台河市| 平阳县| 临泉县| 黔江区| 建昌县| 台湾省| 噶尔县| 五原县| 嵩明县| 新建县| 岳阳市| 曲周县| 朝阳县| 开封县| 凤山县| 伊宁县| 灵台县| 银川市| 江口县| 纳雍县| 九龙坡区| 剑阁县| 含山县| 喀喇沁旗| 阿克陶县| 北流市| 平南县| 昌黎县| 榕江县| 武夷山市| 上饶市| 焉耆| 霍山县| 满城县| 高尔夫| 偃师市| 台江县| 深水埗区| 林口县|