
hotkeys.js is a really small JavaScript library to bind specific keypress events that support modifier keys.
How to use it:
Install the hotkeys.js into your web project and you’re ready to go.
<script src="hotkeys.js"></script>
Create your own keyboard combinations as follows:
( function(window) {
hotkeys( ALT,'m', function(){ alert('alt+m'); });
hotkeys( CTRL_ALT,'d', function(){ alert('ctrl+alt+d'); });
})(window, document);






