// Example for A
// jQuery function to do something when the A key is pressed
function aKeyPressed() {
// do something here
}
//
// Listen for the Key Code when A pressed
document.onkeydown = function(evt) {
evt = evt || window.event;
switch (evt.keyCode) {
case 65: // a
aKeyPressed();
break;