Javascript/Ajax/JQuery

Add hotkeys to the web application

Let us have a look at the simple javascript code, that can be used to add hotkeys to our web application. I tried using jquery hotkeys plugin and two more plugins, but they didn't work for me. So I ended up handling the keydown event of my own. var isAlt = false; document.onkeyup = function(e) { if (e.which == 18) //18 is...

by Amit Jain
Tag: hotkeys
28-Sep-2009