DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
make only one digit input box
<input type="text" maxlength="1" oninput="this.value=this.value.replace(/[^0-9]/g,'');" />
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#digit
#input
#box
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit