摘要: 一、最简单,通过maxlength和onkeyup <input maxlength="16" onkeyup="this.value=this.value.replace(/[^\w[!@#.=_~+,./<>?:;'\\\$\%\^\&\*\(\)\-\|\[\]\{\}\{\}]/g,''); 阅读全文
posted @ 2020-04-16 09:35 林木慕风 阅读(9219) 评论(0) 推荐(0) 编辑