How to get multiple keys code ?
i.e for Ctrl+g what is the key code ?
The key code for ctrl is 17 and for g is 71. Should i use the key code 88 (17+71) for ctrl+g ?
or for shift+alt+1 etc
Any suggestions, is this possible ? I am using jquery and is there any plugin for this ?
☺☺☺☺
Take a look at the jQuery docs on the subject:
The event object yielded to your handler has a
ctrlKeyproperty.So, e.g.:
if( e.keyCode == 71 && e.ctrlKey ) { // ctrl+g }