- <tr>
- <td height="44" align="right">密码:</td>
- <td class="p01">
- <input name="cardid1" id="cardid1" runat="server" type="text" size="2" maxLength="2" class="pass01" onKeyup="if(this.value.length==2){document.all.cardid2.focus()};value=value.replace(/[^/d]/g,'') " /><b><font COLOR="022488"> </font></b>
- <input name="cardid2" id="cardid2" runat="server" type="text" size="4" maxLength="4" class="pass02" onKeyup="if(this.value.length==4){document.all.cardid3.focus()};value=value.replace(/[^/d]/g,'') " /><b><font COLOR="022488"> </font></b>
- <input name="cardid3" id="cardid3" runat="server" type="text" size="4" maxLength="4" class="pass02" onKeyup="if(this.value.length==4){document.all.cardid4.focus()};value=value.replace(/[^/d]/g,'') " /><b><font COLOR="022488"> </font></b>
- <input name="cardid4" id="cardid4" runat="server" type="text" size="4" maxLength="4" class="pass02" onKeyup="if(this.value.length==4){document.all.cardid5.focus()};value=value.replace(/[^/d]/g,'') " /><b><font COLOR="022488"> </font></b>
- <input name="cardid5" id="cardid5" runat="server" type="text" size="4" maxLength="4" class="pass02" style="overflow:visible;" onKeyup="if(this.value.length==4){document.all.txtCode.focus()};value=value.replace(/[^/d]/g,'') ">
- </td>
- </tr>
密码值由五个文本框的值组成并且设置了每个文本框的最大长度和内容必须为数字
最新推荐文章于 2022-01-02 12:47:42 发布