- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
jQuery Keyboard
March 22, 2011
This script allows you to track keyboard key combinations and execute some action. The home page of the project is http://code.google.com/p/jquerykeyboard/ JavaScript We should include jQuery framework and jquery.keyboard.js by pointing src attribute in the script tag to those .js files. The below code we should insert between the tags in the body section. There we specify the key combination to track down and create a function which contains the action to execute: + (plus) sign between the keys means that they should be pressed together; , (comma) – this key pressed or this; (space) – keys can be pressed in any order. Keyboard button indexes can be found here http://code.google.com/p/jquerykeyboard/wiki/Indexes