JQuery Hotkeys - binding to multiple alphanumeric character combinations -


i using latest version of jquery hotkeys.

the plug-in fantastic and, in main, need do.

however, bind combination of keys such "a+h", example:

jquery(document).bind('keydown', 'a+h', function(evt) { alert('hello world!'); } 

this doesn't seem work - has acheived succesfully? ctrl+a, etc. works, ideal if bind combinations of alpha-numeric characters.

i took @ code base , looks way plugin programmed, not support use case you're describing. lumps modifier keys (shift, alt, etc.) special case, allows create combinations involving mod keys. doesn't support multiple standard keys, however.

i suggest ask plugin developer add feature in future release. in mean time, can either adapt goals fit plugin, try modifying plugin yourself, or write custom code special case.

by way, code isn't particularly complicated should take gander. maybe you'll see don't.
the plugin file.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -