jQuery mendeteksi tab shift

if(keyCode == 9) {
    if(e.shiftKey) {
       //Focus previous input
    }
    else {
       //Focus next input
    }
}
Sparkling Squirrel