html 포커스이동
페이지 정보
작성자 미친새 작성일 20-02-21 10:23 조회 18,539 댓글 0본문
<select name=\"tel\" style=\"width:58px;\" onchange=\"document.getElementById('mtel1').focus();\">
<option value=\"010\">010</option>
<option value=\"011\">011</option>
<option value=\"016\">016</option>
<option value=\"017\">017</option>
<option value=\"018\">018</option>
<option value=\"019\">019</option>
</select>
-
<input type=\"text\" id=\"mtel1\" name=\"tel1\" size=\"6\" maxlength=\"4\" onkeyup=\"if(this.value.length >=4) document.getElementById('mtel2').focus(); this.value=onlynum(this.value);\">
-
<input type=\"text\" id=\"mtel2\" name=\"tel2\" size=\"6\" maxlength=\"4\" onkeyup=\"this.value=onlynum(this.value);\">
<option value=\"010\">010</option>
<option value=\"011\">011</option>
<option value=\"016\">016</option>
<option value=\"017\">017</option>
<option value=\"018\">018</option>
<option value=\"019\">019</option>
</select>
-
<input type=\"text\" id=\"mtel1\" name=\"tel1\" size=\"6\" maxlength=\"4\" onkeyup=\"if(this.value.length >=4) document.getElementById('mtel2').focus(); this.value=onlynum(this.value);\">
-
<input type=\"text\" id=\"mtel2\" name=\"tel2\" size=\"6\" maxlength=\"4\" onkeyup=\"this.value=onlynum(this.value);\">
댓글목록 0
등록된 댓글이 없습니다.