jQuery.numeric() allows only valid numbers to be typed into a text box. Can take negative numbers and a decimal point. You can also supply a callback that runs when focus is lost and the value in the text box is not a valid number.
npm install jquery.numericnpm install jquery.numeric --save
git clone https://github.com/nox-it/jquery-numeric.git
html
``