2018年11月5日

input校验不能以0开头的数字

摘要: 不以零开头 <input type="text" class="form-control" onkeyup="value=value.replace(/[^\d]/g, '').replace(/^0{1,}/g,'')"/> 阅读全文

posted @ 2018-11-05 14:50 贾广祥 阅读(2399) 评论(0) 推荐(0)

导航