Skip to content Skip to sidebar Skip to footer

'alt' Keyup Event Don't Work On Firefox

i try to capture this key : alt+arrow down, alt+arrow up. First, i capture alt key down : var isAlt = false; $(document).keydown(function (e) { if(e.which == 18){isAlt=true;}

Solution 1:

You need to check the event.altKey property: https://developer.mozilla.org/en/DOM/KeyboardEvent


Post a Comment for "'alt' Keyup Event Don't Work On Firefox"