Skip to main content
added keyboard tags, removed personalization, added link to js-hotkeys, added jquery-hotkeys tag
Source Link
ahsteele
  • 26.6k
  • 28
  • 139
  • 256

I've been using js-hotkeysjs-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.

Thanks

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.

Thanks

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.

Source Link
AnApprentice
  • 111.5k
  • 203
  • 639
  • 1k

js-hotkeys - how to bind to the ? question mark

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.

Thanks