My Javascript:
$("#test").keypress(function(e){
       if (document.all){ var evt = event.keyCode; }
       else if(e.which) { var evt = e.which;       }           
       else             { var evt = e.charCode;    }
       if (evt == 13){ // with any other key, the alert dos not fire
            alert(evt);
       }
       return true;
});
The keycode 13 Enter fires the alert, but any other dosent.
Can any one tell me why?
I need to verify if the 13 or 9 tab was fired.
Thanks.