Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

keycode 13 is for which key

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; } 
like image 201
Roadrunner Avatar asked May 22 '11 07:05

Roadrunner


People also ask

What is keyCode in JavaScript?

JavaScript KeyCodeThe keydown event occurs when the keyboard key is pressed, and it is followed at once by the execution of keypress event. The keyup event is generated when the key is released.

What is keyCode in keyboard?

Key codes are numeric values that correspond to physical keys on the keyboard but do not necessarily correspond to a particular character.

What is keyCode of dot?

According to the website, key-code for . is 190.


2 Answers

It's the Return or Enter key on keyboard.

like image 54
JosephH Avatar answered Oct 14 '22 00:10

JosephH


That would be the Enter key.

like image 37
Cᴏʀʏ Avatar answered Oct 14 '22 00:10

Cᴏʀʏ