摘要: 只需将需要的代码加入到input输入框中,即可使用! 1,文本框只能输入数字代码(小数点也不能输入) 代码如下: <input onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value. 阅读全文
posted @ 2018-09-30 14:28 公子清 阅读(637) 评论(0) 推荐(1)