摘要: 方法一 <input onkeypress="return /[a-z]/i.test(event.key)" > 方法二 <input type="text" name="field" maxlength="8" title="Only Letters" value="Type Letters O 阅读全文
posted @ 2021-09-17 22:33 jahoon 阅读(542) 评论(0) 推荐(0)