<input type="tel" pattern="[0-9]*" class="dot" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="输入密码">
<input type="tel" pattern="[0-9]*" class="dot" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="输入密码">
本文标题:input输入密码时用纯数字并且加密
本文链接:https://www.haomeiwen.com/subject/ebcogctx.html
网友评论