I've been using js-hotkeys for a while, love it.
I'd now like to bind to the ? key, but that doesn't appear to be supported. Anyone know why and how to bind to the ? question mark?
$(document).bind('keydown', '?',function (evt) {
alert('go');
});
The above code does not work.
What about
$(document).bind('keyup', function (evt) {
if (evt.keyCode == 191)
alert("go");
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With