jsで頭0詰めは、意外と簡単!
|
1 |
<input type="text" name="test" value="" onChange="this.value = this.value.padStart(16, '0')"> |
jsで頭0詰めは、意外と簡単!
|
1 |
<input type="text" name="test" value="" onChange="this.value = this.value.padStart(16, '0')"> |