<input type="text" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
onkeyup="this.value=this.value.replace(/\D/g,'')"? 是這是輸入框只能輸入數字
<input type="text" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
onkeyup="this.value=this.value.replace(/\D/g,'')"? 是這是輸入框只能輸入數字