如何获取0到7的密钥代码 [英] How to get the keycodes for 0 to 7
本文介绍了如何获取0到7的密钥代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HEllo团队,
i想知道Javascript中从0到7的关键代码是什么。我用google搜索但没有答案。我从中获取了密钥代码8到200.i想知道使用密钥代码0到7的目的是什么?
谢谢
Harshal Raut。
HEllo Team,
i want to know what is the key code from 0 to 7 in Javascript.I have googled it but no answer.I got the keycodes from 8 to 200.i want to know for which purpose keycodes 0 to 7 is used?
Thanks
Harshal Raut.
推荐答案
要了解这些值是什么,您需要查看这个 [ ^ ]表。那些值实际上并不对应于任何形式的按键(你会按什么键来获取NUL?)因此它们不会被表示为键码。
To understand what those values are, you need to take a look at THIS[^] table. Those values don't actually correspond to any form of keypress (what key would you press to get a NUL?) so they aren't represented as keycodes.
这篇关于如何获取0到7的密钥代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文