Check If Control/Shift/Alt Key Is Pressed In JavaScript:-
- We need to check evt.CtrlKey property to check if Ctrl Key is pressed.
- This code only works on IE and not on FireFox..
- The same code can be used to check if Shift & Alt Key is Pressed, by replacing CtrlKey with respective keys in evt.CtrlKey
Comments
Post a Comment