Search
 
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
Name
3+3 =