<input type="text" placeholder="024123456" class="form-control" name="tlp" value="" onkeypress="return isNumberKey(event);" maxlength="15" >
The easy way using JavaScript:
<input type="text" oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');" >
0 Response to "input type number atau input type angka"
Post a Comment