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.. Link to comment https://forums.phpfreaks.com/topic/127325-shortcuts-access-keys/ 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. Link to comment https://forums.phpfreaks.com/topic/127325-shortcuts-access-keys/#findComment-658698 Share on other sites More sharing options...
obsidian Posted October 7, 2008 Share Posted October 7, 2008 Quote 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. Link to comment https://forums.phpfreaks.com/topic/127325-shortcuts-access-keys/#findComment-659154 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.