Allow only numbers input in a html text input field.
If you include the jquery.only-numbers.min.js only, be sure jQuery is part of your Project.
You will get it here:
- Download
npm install
node server.js- Open your browser at
localhost:1234
- Include
jquery.only-numbers.min.jsinto your Project
$('input[type="text"][name="insert_name_here"]').onlyNumbers();- Patrick Gräf - graef685@googlemail.com