I have the following jQuery code on a site that I built:
$(document).ready(function() {
The code catches the events of the key combination, in this case "Alt-A", and then proceeds to calling the function that performs the corresponding action. I tested this function in FireFox, and the function was called as expected. When I tested this feature in Chrome, the function was not called, but instead an unpleasant beep was called. I thought that perhaps βAlt-Aβ came across an important combination of browser hotkeys, so βAβ changed to βNβ, βGβ, and then βKβ; every time a function was not called and an error signal was emitted. However, when I created the Shift-A / N / G / K hotkey combination, Chrome called the function expected.
source share