Do JS Function on CTRL+O ?
-
Not specifically CTRL+O, but something like that. I want to perform a function, called schartupdate2() on a CTRL + something. Can anyone leave a sample code below?
http://unixpapa.com/js/key.html
http://www.openjs.com/scripts/events/keyboard_shortcuts/
Thank's both of you :) But I tried both of them, but none seemed to work in Google Chrome. Can't you leave a very basic (working) code below?
The problem with using Ctrl-O in Chrome is that is the browser shortcut key to open a file. I would recommend using Shift-O or some other letter (demo).
Thanks :)Add a Comment