輸入數字第一位不能爲0,不能輸入小數點,中文,英文。
且輸入整數以外的內容時,輸入框違規內容不會一閃而過
<input type="tel" oninput="var v=this.value||'';v=v.replace(/[^\d]/g,'');if(v.length==1 && v==0){v=''};this.value=v.substr(0,3);">
輸入數字第一位不能爲0,不能輸入小數點,中文,英文。
且輸入整數以外的內容時,輸入框違規內容不會一閃而過
<input type="tel" oninput="var v=this.value||'';v=v.replace(/[^\d]/g,'');if(v.length==1 && v==0){v=''};this.value=v.substr(0,3);">
(function(d, s, id) { let js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) retur
https://view.officeapps.live.com/op/view.aspx?src=你地址