var downStrokeField;
function autojump(fieldName,nextFieldName,fakeMaxLength)
{
var myForm=document.forms[document.forms.length - 1];
var myField=myForm.elements[fieldName];
myField.nextField=myForm.elements[nextFieldName];
if (myField.maxLength == null)
myField.maxLength=fakeMaxLength;
myField.onkeydown=autojump_keyDown;
myField.onkeyup=autojump_keyUp;
}
function autojump_keyDown()
{
this.beforeLength=this.value.length;
downStrokeField=this;
}
function autojump_keyUp()
{
if (
(this == downStrokeField) &&
(this.value.length > this.beforeLength) &&
(this.value.length >= this.maxLength)
)
{
if (this.nextField.select) this.nextField.select();
this.nextField.focus();
}
downStrokeField=null;
}<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
function autojump(fieldName,nextFieldName,fakeMaxLength)
{
var myForm=document.forms[document.forms.length - 1];
var myField=myForm.elements[fieldName];
myField.nextField=myForm.elements[nextFieldName];
if (myField.maxLength == null)
myField.maxLength=fakeMaxLength;
myField.onkeydown=autojump_keyDown;
myField.onkeyup=autojump_keyUp;
}
function autojump_keyDown()
{
this.beforeLength=this.value.length;
downStrokeField=this;
}
function autojump_keyUp()
{
if (
(this == downStrokeField) &&
(this.value.length > this.beforeLength) &&
(this.value.length >= this.maxLength)
)
{
if (this.nextField.select) this.nextField.select();
this.nextField.focus();
}
downStrokeField=null;
}<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
게시글 목록
| 번호 | 제목 |
|---|---|
| 17822 | |
| 692 |
JavaScript
portmap
|
| 691 | |
| 690 | |
| 689 |
JavaScript
md5sum 사용방법
|
| 688 |
JavaScript
TAR 압축방법
|
| 687 | |
| 685 | |
| 684 |
기타
crontab 사용하기
|
| 683 |
JavaScript
umask 설정법
|
| 682 | |
| 681 |
기타
Find 명령어 활용
|
| 680 |
기타
zip 압축 해제
|
| 679 |
JavaScript
삼바(samba)에서 내부만 들어오게 하기
|
| 678 | |
| 676 | |
| 675 |
JavaScript
quota 젠체 용량 확인
|
| 674 | |
| 673 | |
| 672 |
JavaScript
런레벨 편집
|
| 671 |
기타
리눅스에서 문자찾기
|
| 670 | |
| 669 |
JavaScript
삼바로 리눅스에서 윈도우로 공유하기
|
| 668 |
JavaScript
shadow 패스워드 잠금 해제 하기
|
| 667 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기