Listen to multiple keydowns
Fiddle: http://jsfiddle.net/ATUEx/ Create a temporary cache to remember your key strokes. An implementation of handling two keys would follow this pattern: <keydown> Clear previous time-out. Check whether the a key code has been cached or not.If yes, and valid combination: – Delete all cached key codes – Execute function for this combination else – Delete … Read more