« New job, and a new project Still Alive »

Prototype.js Event keycode constants

1v$ date
1v$ Thu Jan 1 0:00:00 GMT 1970

A more human-readable table of the keycode constants listed in Prototype.js’s Event class:

Name Keycode Use
Backspace / Back delete KEY_BACKSPACE Event.KEY_BACKSPACE
Tab KEY_TAB Event.KEY_TAB
Return / Enter KEY_RETURN Event.KEY_RETURN
Escape / Esc KEY_ESC Event.KEY_ESC
Arrow left KEY_LEFT Event.KEY_LEFT
Arrow up KEY_UP Event.KEY_UP
Arrow right KEY_RIGHT Event.KEY_RIGHT
Arrow down KEY_DOWN Event.KEY_DOWN
Delete / Forward delete / Del KEY_DELETE Event.KEY_DELETE
Home KEY_HOME Event.KEY_HOME
Page up KEY_PAGEUP Event.KEY_PAGEUP
Page down KEY_PAGEDOWN Event.KEY_PAGEDOWN

Edit
Feed for this Entry

2 Responses to Prototype.js Event keycode constants


About You

Email address is not published

Add to the Discussion


Subscribe to Feed

Navigation

Asides

  • January 9 - Fixed textitle usage in atom feed

    I’ve started using Textile) for markup in my posts, but it wasn’t getting parsed in my Atom feed..now fixed!

  • January 2 - No xmlrpc to Habari from G1

    The Android Market place doesn’t have any xmlrpc apps to work with Habari, just one that should work but doesn’t as it’s doing something only Wordpress seems to understand. FAIL.

More Posts

Recent Comments

Links

Latest tweet on Twitter

User Login