js中window.event.keyCode!=8什么意思?

 我来答
li_lei
推荐于2018-03-13
知道答主
回答量:49
采纳率:0%
帮助的人:18.6万
展开全部
判断事件按下的是否为 BackSpace 键

event.keycode值大全

1 keycode 8 = BackSpace BackSpace

2 keycode 9 = Tab Tab

3 keycode 12 = Clear

4 keycode 13 = Enter

5 keycode 16 = Shift_L

6 keycode 17 = Control_L

7 keycode 18 = Alt_L

8 keycode 19 = Pause

9 keycode 20 = Caps_Lock

10 keycode 27 = Escape Escape

11 keycode 32 = space space

12 keycode 33 = Prior

13 keycode 34 = Next

14 keycode 35 = End

15 keycode 36 = Home

16 keycode 37 = Left

17 keycode 38 = Up

18 keycode 39 = Right

19 keycode 40 = Down

20 keycode 41 = Select

21 keycode 42 = Print

22 keycode 43 = Execute

23 keycode 45 = Insert

24 keycode 46 = Delete

25 keycode 47 = Help

26 keycode 48 = 0 equal braceright

27 keycode 49 = 1 exclam onesuperior

28 keycode 50 = 2 quotedbl twosuperior

29 keycode 51 = 3 section threesuperior

30 keycode 52 = 4 dollar

31 keycode 53 = 5 percent

32 keycode 54 = 6 ampersand

33 keycode 55 = 7 slash braceleft

34 keycode 56 = 8 parenleft bracketleft

35 keycode 57 = 9 parenright bracketright

36 keycode 65 = a A

37 keycode 66 = b B

38 keycode 67 = c C

39 keycode 68 = d D

40 keycode 69 = e E EuroSign

41 keycode 70 = f F

42

43 keycode 71 = g G

44 keycode 72 = h H

45 keycode 73 = i I

46 keycode 74 = j J

47 keycode 75 = k K

48 keycode 76 = l L

49 keycode 77 = m M mu

50 keycode 78 = n N

51 keycode 79 = o O

52 keycode 80 = p P

53 keycode 81 = q Q at

54 keycode 82 = r R

55 keycode 83 = s S

56 keycode 84 = t T

57 keycode 85 = u U

58 keycode 86 = v V

59 keycode 87 = w W

60 keycode 88 = x X

61 keycode 89 = y Y

62 keycode 90 = z Z

63 keycode 96 = KP_0 KP_0

64 keycode 97 = KP_1 KP_1

65 keycode 98 = KP_2 KP_2

66 keycode 99 = KP_3 KP_3

67 keycode 100 = KP_4 KP_4

68 keycode 101 = KP_5 KP_5

69 keycode 102 = KP_6 KP_6

70 keycode 103 = KP_7 KP_7

71 keycode 104 = KP_8 KP_8

72 keycode 105 = KP_9 KP_9

73 keycode 106 = KP_Multiply KP_Multiply

74 keycode 107 = KP_Add KP_Add

76 keycode 108 = KP_Separator KP_Separator

77 keycode 109 = KP_Subtract KP_Subtract

78 keycode 110 = KP_Decimal KP_Decimal

79 keycode 111 = KP_Divide KP_Divide

80 keycode 112 = F1

81 keycode 113 = F2

82 keycode 114 = F3

83 keycode 115 = F4

86 keycode 116 = F5

87 keycode 117 = F6

88 keycode 118 = F7

89 keycode 119 = F8

90 keycode 120 = F9

91 keycode 121 = F10

92 keycode 122 = F11

93 keycode 123 = F12
520wszt530
2011-08-24 · TA获得超过184个赞
知道答主
回答量:487
采纳率:100%
帮助的人:344万
展开全部
按ENTER键可以让光标移到下一个输入框!
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
zgntc470ntz
2011-08-26 · TA获得超过387个赞
知道小有建树答主
回答量:972
采纳率:0%
帮助的人:469万
展开全部
按ENTER键可以让光标移到下一个输入框!
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
858sbuz760
2011-08-25 · TA获得超过275个赞
知道小有建树答主
回答量:548
采纳率:0%
帮助的人:343万
展开全部
按ENTER键可以让光标移到下一个输入框!
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(2)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式