Allows only valid characters (i.e. numbers) to be typed into a text box. Can take negative numbers and a decimal point. You can supply a callback that runs when focus is lost and the value in the text box is not a valid number.
I am not an owner of a source code. I just created a nuget package to keep all dependencies in nuget. All the credit goes to Texotela.
Install-Package JQeury.Numeric -Version 1.0.2
dotnet add package JQeury.Numeric --version 1.0.2
<PackageReference Include="JQeury.Numeric" Version="1.0.2" />
paket add JQeury.Numeric --version 1.0.2
- jQuery (>= 1.5.0)