My numeric validation code is not working on Samsung tablets, although it works perfectly on other devices and browsers.
$("#routingNum").keypress(function (e) {
if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) {
return false;
}
});
Prior to clicking the button, we need to ensure that only digits are allowed and no other characters.