摘要: 一、input 框限制 1. 只能输入数字代码(小数点也不能输入) <input onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"> 2.  阅读全文
posted @ 2024-01-25 11:26 Laugh" 阅读(48) 评论(0) 推荐(0) 编辑