Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

simple way to make a text field to accept numbers only with maximum number of length 13 digit and min 10

<input name="phoneNumber"
    oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);"
    type = "number"
    maxlength = "10"
 />
Comment

PREVIOUS NEXT
Code Example
Shell :: oevrride localwith remote branch 
Shell :: fsl flirt 
Shell :: raspberry pi stop an rc.local process 
Shell :: please rebuild precompiled header 
Shell :: how to stash the newly created files in git 
Shell :: yarn create chrome extension with react and typescript 
Shell :: start apache server in ubuntu 
Shell :: serverless not using aws profile 
Shell :: apache/2.4.41 (ubuntu) server at localhost port 80 error 
Shell :: docker clean logs 
Shell :: apache2 configtest 
Shell :: powershell remove files recursive 
Shell :: saml2aws logout 
Shell :: k8s create namespace 
Shell :: tar exclude directory 
Shell :: how to install chocolatey on windows 10 
Shell :: ubuntu adduser 
Shell :: linux append group 
Shell :: git clean 
Shell :: stop google process linux 
Shell :: bash wait until file exists 
Shell :: vuetify install 
Shell :: docker run restart always 
Shell :: what shell type 
Shell :: wifi adapter not found ubuntu 20.04 
Shell :: term environment variable not set 
Shell :: how to push code to another remote git repository 
Shell :: how to remove every space in a string in bash 
Shell :: cordova: command not found 
Shell :: git remove last commit origin 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =