Click here to Skip to main content
15,868,141 members
Articles / Web Development / HTML

Text box to accept only number

16 Jan 2012CPOL 10.7K   4   9
This "Decimal TextBox" is an extension to the original solution, which allows entering the negative sign (chr 45) and decimal point (chr 46) in addition to the digits 0...9 and backspace (chr 8) using just client scripting to perform the client-side validation: <script...
We're sorry, but the article you are trying to view was deleted at 9 Feb 2015.

Please go to the HTML Table of Contents to view the list of available articles in this section.