Beata Harvest
Sunday, August 7, 2011
How can I call a function if either my left, right or spacebar keys are pressed? (Javascript)?
you can use keypress or keydown event and check the key code value of event, if its left or right or spacebar key then do you code.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment