I want to make some action on keyboard key combination, in this case #2
issue is that i have input in page that have and need autofocus. …
So when i hit #2 it types it inside input
Example: http://jsfiddle.net/obf3xsLa/ (click outside input to see that #2 works)
Question is how to tell it if entered combination #2 to leave input and do function?
P.S. I m using Mousetrap.js