if (!((which >= 48 && which <= 57) || which == 13)){
var which = 14; if (!((which >= 48 && which <= 57) || which == 13)){ alert(which); }