不以零开头
<input type="text" class="form-control" onkeyup="value=value.replace(/[^\d]/g, '').replace(/^0{1,}/g,'')"/>
posted on 2018-11-05 14:50 贾广祥 阅读(2399) 评论(0) 收藏 举报