οnkeyup="this.value=this.value.replace(/[^\d]/g,'')"
onafterpaste="this.value=this.value.replace(/[^\d]/g,'')"
input只能输入数字
最新推荐文章于 2024-02-29 11:49:15 发布
οnkeyup="this.value=this.value.replace(/[^\d]/g,'')"
onafterpaste="this.value=this.value.replace(/[^\d]/g,'')"