Allowing just Numeric Text on Input Text field
- by systempuntoout
There are many solutions suggested on Stack Overflow but i did not find it one that satisfy my requirements.
I was using Jquery Numeric plugin but i found that is not working (does not allow pasting) on FireFox 3.6 on Osx.
I'm searching a Jquery plugin or Javascript snippet that allow just Numeric Text on a Input Text field.
I have these requirements:
Should allow just numeric text
Should NOT allow punctuation (.,)
Should NOT allow dashed text (-)
Should allow pasting just for numeric text
Multibrowser
Multiplatform