Js numbers belonging to the letter e, the matching is generally regular \ d is able to prevent the letter e
Correct wording is:
onKeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"
Js numbers belonging to the letter e, the matching is generally regular \ d is able to prevent the letter e
Correct wording is:
onKeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"