$("input").on("keypress", function (e) {
    if (!jQuery.isNumeric(String.fromCharCode(e.which)))
        return false;
});$("input").on("keypress", function (e) {
    if (!jQuery.isNumeric(String.fromCharCode(e.which)))
        return false;
});
Leave a Reply