In some occasions you might have to disable alphabets in a text field and only allow numbers. For example, in fields like phone number or amount.
You can achieve this using the JQuery code given below:
In some occasions you might have to disable alphabets in a text field and only allow numbers. For example, in fields like phone number or amount.
You can achieve this using the JQuery code given below: