<input type="number" onkeyup="this.value=this.value.replace(/\D/g,'')">

 

相关文章: