random1 Posted October 7, 2008 Share Posted October 7, 2008 How do you create shortcuts/access keys using Javascript? By shortcuts I mean pressing A on the keyboard selects all, Pressing N selects none etc.. Quote Link to comment Share on other sites More sharing options...
BillyBoB Posted October 7, 2008 Share Posted October 7, 2008 http://www.quirksmode.org/js/keys.html Seriously use google. Quote Link to comment Share on other sites More sharing options...
obsidian Posted October 7, 2008 Share Posted October 7, 2008 http://www.quirksmode.org/js/keys.html Seriously use google. Definitely one of the best references. Keep in mind, though, that sometimes trapping the keystroke is often not enough. You may need to set yourself up with a listener on a specific object so that the event is only fired in certain situations. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.