Is it possible, using JavaScript or jQuery, to perform an action when a user presses a certain key on the keyboard?
For example: User presses down the "A" key and a div changes from hidden to visible
Thanks
Is it possible, using JavaScript or jQuery, to perform an action when a user presses a certain key on the keyboard?
For example: User presses down the "A" key and a div changes from hidden to visible
Thanks
Sure it is
See the following:
jQuery has wrappers for all these events
Yes there is a jQuery plugin for just this kind of thing, and also google results are filled with answers.