coding freak coding freak - 1 year ago 71
HTML Question

Full list of Jquery keyboard character codes on keypress()

I know that 13 symbolizes

. But I want to know which number is for A, B, C.. etc.. Does anyone know where I can find a full of list keyboard buttons for jquery keypress.

$(document).keypress(function (e) {
if (e.which == 13) {
$(".car").css("left", "+=25px");

Answer Source

A simple way of of checking out keycodes yourself you could do it like this:

$('input').on('keydown', function (e) {


Take a look at this for keycodes