摘要: <body>只允许输入正整数: <input type='text' onkeyup="this.value=this.value.replace(/^(0+)|[^\d]+/g,'')"> <br/> <br/>只允许输入英文: <input type="text" onkeyup="this.v 阅读全文
posted @ 2021-03-10 08:56 诡道也 阅读(55) 评论(0) 推荐(0)