会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
。低调ヽ继续
The bast there ever was.The bast there ever will be.
博客园
首页
新随笔
联系
订阅
管理
2017年8月3日
input框的输入限制
摘要: 1.输入数字 <input onKeyUp="value=value.replace(/[^\d|chun]/g,'')"> 2.只输入中文 <input type="text" onkeyup="this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'
阅读全文
posted @ 2017-08-03 15:26 。低调ヽ继续
阅读(397)
评论(0)
推荐(0)
编辑
公告