当前部分达到最大长度时跳到下一个部分
时间:2006-07-04 来源:yanjing5462
<html>
<head>
</head>
<body>
<p>This script automatically jumps to the next field when the current field's maxlength has been reached:</p>
<form id="myForm">
<input size="3" tabindex="1" maxlength="3" onkeyup="checkLen(this,this.value)">
<input size="2" tabindex="2" maxlength="2" onkeyup="checkLen(this,this.value)">
<input size="3" tabindex="3" maxlength="3" onkeyup="checkLen(this,this.value)">
</form>
</body>
</html>
相关阅读 更多 +