pacome Posted May 11, 2007 Share Posted May 11, 2007 Hello! Is it possible to assign tasks to the F1 F2 et. keys of the keyboard with JavaScript? if possible... any tutorial I could take a look at...? Thank you! Link to comment https://forums.phpfreaks.com/topic/50948-f1-f2-keys/ Share on other sites More sharing options...
emehrkay Posted May 12, 2007 Share Posted May 12, 2007 the OS/browser might own those specific keys and you may not be able to remap them however, there is a way to do key event listeners in js you'll just have to create a listener look here for the codes http://www.cambiaresearch.com/c4/702b8cd1-e5b0-42e6-83ac-25f0306e3e25/Javascript-Char-Codes-Key-Codes.aspx a listener shouldnt be too difficult to do, check out this article http://www.howtocreate.co.uk/tutorials/javascript/domevents Link to comment https://forums.phpfreaks.com/topic/50948-f1-f2-keys/#findComment-251498 Share on other sites More sharing options...
pacome Posted June 17, 2007 Author Share Posted June 17, 2007 Thank you for the links.. I will check them out. Link to comment https://forums.phpfreaks.com/topic/50948-f1-f2-keys/#findComment-276342 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.