会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
chaoyue
博客园
首页
新随笔
联系
管理
订阅
2018年7月27日
正则表达式控制Input输入内容 ,js正则验证方法大全
摘要: https://blog.csdn.net/xushichang/article/details/4041507 //输入姓名的正则校验 e.currentTarget.value = e.currentTarget.value.replace(/[^\u4E00-\u9FA5+]/ig,'') /
阅读全文
posted @ 2018-07-27 19:42 小小公举
阅读(5456)
评论(0)
推荐(0)
编辑
公告