News

In this case I would turn to jQuery and one of several available plugins designed to handle keyboard events. For example, jQuery Hotkeys which provides the desired functionality in a simple way.
Keylock is a javascript library used to map browser keyboard events to javascript functions using a Vi-esque binding scheme - paydro/keylock. Skip to content. Navigation Menu Toggle navigation. Sign ...