javascript - Format input field to separate the first 4 digits with a period, and the next 2 digits with a period -
i have text-input placeholder value. im wondering if possible have default value when user clicks input. value should this: ____.__._____
the _
character in value should replaced user typing, period should stay in place.
here input:
<input type="text" id="accountnumber" name="accountnumber" placeholder="located on card" />
you use plugin this:
Comments
Post a Comment