限制/拒绝用户使用javascript在HTA中输入10个字符

问题描述 投票:0回答:1

我想创建一个Java脚本来设置来自html文本框的输入,该输入必须是10个字母数字输入。 <div> <label style="color:#404040;" style="font-family:courier new; font-size:21px;"><b>LOT &nbsp &nbsp &nbsp ID &nbsp &nbsp &nbsp:&nbsp</b></label> <input style="font-size:25px;" type="text" minlength="10" maxlength="10" id="lotid" style="width:200px;height:40px;" required> </div>

代码内的行不接受minlengh

javascript html hta
1个回答
0
投票

这可能有帮助

© www.soinside.com 2019 - 2024. All rights reserved.