How do I map a keyboard shortcut which will trigger a keypress? Something like:
document.addEventListener("keyup", doc_keyUp, false);
function doc_keyUp(e) {
if (e.ctrlKey && e.keyCode == 57) { // key code for 9
// function that behaves exactly like how "shift+tab" functions
}
}
Would be ideal if this can be done without jquery