2020年6月9日

input常用限制

摘要: 1.自动过滤空格 1 onkeyup="this.value=this.value.replace(/[, ]/g,'')" 2 3 onafterpaste="this.value=this.value.replace(/[, ]/g,'')" 2.只能输入正整数 1 onkeyup="this. 阅读全文

posted @ 2020-06-09 10:54 白糖炒菜 阅读(158) 评论(0) 推荐(0) 编辑

导航