摘要: <input type='text' onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)" onblur="this.v();" /> 简简单单一行代码搞定 阅读全文
posted @ 2022-04-24 10:34 沫栀 阅读(461) 评论(0) 推荐(0)