165
rated 0 times
[
170]
[
5]
/ answers: 1 / hits: 69950
/ 13 Years ago, wed, june 1, 2011, 12:00:00
I am trying to get an event to trigger when I am on a page and press space, but I can't figure it out. Currently I am trying to use jQuery to accomplish a satisfying result.
I have tried using keydown
, keyup
and keypress
, but it seems that you can only use it if you are actually inputting something to a form or field.
What I want is to trigger an alert when space is pressed.
More From » jquery