event.keycode值大全

从网上找的event.keycode值大全,方便自己和大家以后查阅:

1keycode8=BackSpaceBackSpace 2keycode9=TabTab 3keycode12=Clear 4keycode13=Enter 5keycode16=Shift_L 6keycode17=Control_L 7keycode18=Alt_L 8keycode19=Pause 9keycode20=Caps_Lock 10keycode27=EscapeEscape 11keycode32=spacespace 12keycode33=Prior 13keycode34=Next 14keycode35=End 15keycode36=Home 16keycode37=Left 17keycode38=Up 18keycode39=Right 19keycode40=Down 20keycode41=Select 21keycode42=Print 22keycode43=Execute 23keycode45=Insert 24keycode46=Delete 25keycode47=Help 26keycode48=0equalbraceright 27keycode49=1exclamonesuperior 28keycode50=2quotedbltwosuperior 29keycode51=3sectionthreesuperior 30keycode52=4dollar 31keycode53=5percent 32keycode54=6ampersand 33keycode55=7slashbraceleft 34keycode56=8parenleftbracketleft 35keycode57=9parenrightbracketright 36keycode65=aA 37keycode66=bB 38keycode67=cC 39keycode68=dD 40keycode69=eEEuroSign 41keycode70=fF 4243keycode71=gG 44keycode72=hH 45keycode73=iI 46keycode74=jJ 47keycode75=kK 48keycode76=lL 49keycode77=mMmu 50keycode78=nN 51keycode79=oO 52keycode80=pP 53keycode81=qQat 54keycode82=rR 55keycode83=sS 56keycode84=tT 57keycode85=uU 58keycode86=vV 59keycode87=wW 60keycode88=xX 61keycode89=yY 62keycode90=zZ 63keycode96=KP_0KP_0 64keycode97=KP_1KP_1 65keycode98=KP_2KP_2 66keycode99=KP_3KP_3 67keycode100=KP_4KP_4 68keycode101=KP_5KP_5 69keycode102=KP_6KP_6 70keycode103=KP_7KP_7 71keycode104=KP_8KP_8 72keycode105=KP_9KP_9 73keycode106=KP_MultiplyKP_Multiply 74keycode107=KP_AddKP_Add 7576keycode108=KP_SeparatorKP_Separator 77keycode109=KP_SubtractKP_Subtract 78keycode110=KP_DecimalKP_Decimal 79keycode111=KP_DivideKP_Divide 80keycode112=F1 81keycode113=F2 82keycode114=F3 83keycode115=F4 84keycod 8586e116=F5 87keycode117=F6 88keycode118=F7 89keycode119=F8 90keycode120=F9 91keycode121=F10 92keycode122=F11 93keycode123=F12 94keycode124=F13 95keycode125=F14 96keycode126=F15 97keycode127=F16 98keycode128=F17 99keycode129=F18 100keycode130=F19 101keycode131=F20 102keycode132=F21 103keycode133=F22 104keycode134=F23 105keycode135=F24 106keycode136=Num_Lock 107keycode137=Scroll_Lock 108keycode187=acutegrave 109keycode188=commasemicolon 110keycode189=minusunderscore 111keycode190=periodcolon 112keycode192=numbersignapostrophe 113keycode210=plusminushyphenmacron 114keycode211= 115keycode212=copyrightregistered 116keycode213=guillemotleftguillemotright 117keycode214=masculineordfeminine 118keycode215=aeAE 119keycode216=centyen 120keycode217=questiondownexclamdown 121keycode218=onequarteronehalfthreequarters 122keycode220=lessgreaterbar 123keycode221=plusasteriskasciitilde 124keycode227=multiplydivision 125126keycode228=acircumflexAcircumflex 127keycode229=ecircumflexEcircumflex 128keycode230=icircumflexIcircumflex 129keycode231=ocircumflexOcircumflex 130keycode232=ucircumflexUcircumflex 131keycode233=ntildeNtilde 132keycode234=yacuteYacute 133keycode235=oslashOoblique 134keycode236=aringAring 135keycode237=ccedillaCcedilla 136keycode238=thornTHORN 137keycode239=ethETH 138keycode240=diaeresiscedillacurrency 139keycode241=agraveAgraveatildeAtilde 140keycode242=egraveEgrave 141keycode243=igraveIgrave 142keycode244=ograveOgraveotildeOtilde 143keycode245=ugraveUgrave 144keycode246=adiaeresisAdiaeresis 145keycode247=ediaeresisEdiaeresis 146keycode248=idiaeresisIdiaeresis 147keycode249=odiaeresisOdiaeresis 148keycode250=udiaeresisUdiaeresis 149keycode251=ssharpquestionbackslash 150keycode252=asciicircumdegree 151keycode253=3sterling 152keycode254=Mode_switch 153154使用event对象的keyCode属性判断输入的键值 155eg:if(event.keyCode==13)alert(“enter!”); 156键值对应表 157A  0X65 U  0X85 158B  0X66 V  0X86 159C  0X67 W  0X87 160D  0X68 X  0X88 161E  0X69 Y  0X89 162F  0X70 Z  0X90 163G  0X71 0  0X48 164H  0X72 1  0X49 165I  0X73 2  0X50 166J  0X74 3  0X51 167K  0X75 4  0X52 168L  0X76 5  0X53 169M  0X77 6  0X54 170N  0X78 7  0X55 171O  0X79 8  0X56 172P  0X80 9  0X57 173Q  0X81 ESC  0X1B 174R  0X82 CTRL 0X11 175S  0X83 SHIFT 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值