Javascript 键码 13 是哪个键
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6086686/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
keycode 13 is for which key
提问by Roadrunner
Which is the key on the keyboard having the keycode as 13
?
键盘上的键码是13
哪个键?
switch(key) {
case 37:
$.keynav.goLeft();
break;
case 38:
$.keynav.goUp();
break;
case 39:
$.keynav.goRight();
break;
case 40:
$.keynav.goDown();
break;
case 13:
$.keynav.activate();
break;
}
回答by JosephH
It's the Returnor Enterkey on keyboard.
它是键盘上的Return或Enter键。
回答by C???
That would be the Enterkey.
那将是Enter关键。
回答by Oded
Check an ASCII table.
检查ASCII 表。
It stands for CR
, or Carriage Return, AKA the Returnkey.
它代表CR
,或回车,AKAReturn键。
回答by Brian Webster
回答by Sarwar Erfan
The Enterkey should have the keycode 13. Is it not working?
该Enter键应有的键码13是它不工作?
回答by Nagnath Mungade
key 13 keycode is for ENTER key.
键 13 键码用于 ENTER 键。