摘要: 1. 使用type="text" <input type='text' onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)" onblur="this.v();" /> 2.使用 阅读全文
posted @ 2018-09-02 15:34 小余哥 阅读(726) 评论(0) 推荐(0) 编辑