리자

주민등록번호 백 탭

<script>
function jumin_focus() //주민번호 숫자만 입력및 fouce 자동 이동
{
window.status = event.keyCode;
//if ((event.keyCode<48)||(event.keyCode>57)) event.returnValue=false;
//if (event.keyCode == 16) {
if (event.keyCode == 9 || event.keyCode == 16) {
//event.returnValue = false;
//document.form.jumin1.focus();
//document.form.jumin1.select();
return false;
}

if(document.form.jumin1.value.length > 5)
{
document.form.jumin2.focus()
}
}
</script>

<form name=form>
<input type=text name='name' size=10>
<p>
<input type=text name=jumin1 size=6 onkeyup="jumin_focus();">
-
<input type=text name=jumin2 size=7>
</form>
|

댓글 3개

와앗~~~ 리쟈님이 직접 팁을 올려주셨다~~ 와아~~~~
무섭게 생긴닭이 윙크를....
리쟈님 감샤 ^^
댓글을 작성하시려면 로그인이 필요합니다.

그누4 팁자료실

그누보드4와 관련된 팁을 여러분들과 함께 공유하세요. 나누면 즐거움이 커집니다.

+
제목 글쓴이 날짜 조회
18년 전 조회 5,335
18년 전 조회 3,408
18년 전 조회 4,015
18년 전 조회 4,459
18년 전 조회 3,460
18년 전 조회 5,815
18년 전 조회 3,171
18년 전 조회 3,983
18년 전 조회 4,495
18년 전 조회 2,881
18년 전 조회 5,550
18년 전 조회 4,308
18년 전 조회 4,923
18년 전 조회 2,635
18년 전 조회 5,378
18년 전 조회 3,988
18년 전 조회 3,508
18년 전 조회 4,095
18년 전 조회 2,886
18년 전 조회 3,830