Allow AlfaNumeric and other symbol using javascipt : I have use this code for allow numeric only in textbox, but how make Caharkey only allow AlfaNumeric and other symbol like **-./** (dash,dot,slash)

this my code for allow Numeric

    function NumericKey(evt){
        var charCode = (evt.which) ? evt.which : event.keyCode
        if (charCode > 31 && (charCode < 48 || charCode > 57))
            return false;
        return true;
    }

thankyou