keycode 13 is for which key

倾然丶 夕夏残阳落幕 提交于 2020-05-09 17:50:27

问题


Which is the key on the keyboard having the keycode as 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;
}

回答1:


It's the Return or Enter key on keyboard.




回答2:


That would be the Enter key.




回答3:


Check an ASCII table.

It stands for CR, or Carriage Return, AKA the Return key.




回答4:


Keycode 13 is the Enter key

Which keycode for escape key with jQuery




回答5:


The Enter key should have the keycode 13. Is it not working?




回答6:


key 13 keycode is for ENTER key.



来源:https://stackoverflow.com/questions/6086686/keycode-13-is-for-which-key

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!