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