Check Ctrl / Shift / Alt keys on ‘click’ event

Well you this wont work in all browsers just IE 8. Microsoft implemented the ability to determine which (right/left) key was pressed. Here is a link http://msdn.microsoft.com/en-us/library/ms534630(VS.85).aspx I also found this wonder article about keypress, keyup, keydown event in browsers. http://unixpapa.com/js/key.html $(‘#someelement’).bind(‘click’, function(event){ if(event.ctrlKey) { if (event.ctrlLeft) { console.log(‘ctrl-left’); } else { console.log(‘ctrl-right’); } } … Read more