리자

Automatically Jumping To The Next Field

· 20년 전 · 1610
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>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
bbbking
20년 전 조회 2,345
bbbking
20년 전 조회 1,754
bbbking
20년 전 조회 2,120
bbbking
20년 전 조회 3,513
bbbking
20년 전 조회 2,021
bbbking
20년 전 조회 4,384
20년 전 조회 3,360
bbbking
20년 전 조회 2,186
bbbking
20년 전 조회 7,784
20년 전 조회 5,526
20년 전 조회 2,972
20년 전 조회 5,553
20년 전 조회 2,340
20년 전 조회 2,569
20년 전 조회 2,337
20년 전 조회 2,192
20년 전 조회 2,110
20년 전 조회 2,574
20년 전 조회 2,545
20년 전 조회 2,438
20년 전 조회 2,649
20년 전 조회 2,346
20년 전 조회 2,551
20년 전 조회 3,486
bbbking
20년 전 조회 5,337
20년 전 조회 3,692
20년 전 조회 3,151
20년 전 조회 5,907
bbbking
20년 전 조회 5,695
20년 전 조회 4,120
20년 전 조회 2,367
20년 전 조회 3,166
20년 전 조회 1,887
20년 전 조회 1,554
20년 전 조회 3,122
20년 전 조회 3,526
20년 전 조회 5,080
20년 전 조회 5,786
20년 전 조회 3,657
20년 전 조회 4,991
20년 전 조회 3,270
20년 전 조회 3,611
bbbking
20년 전 조회 7,916
bbbking
20년 전 조회 5,885
20년 전 조회 4,460
20년 전 조회 4,010
20년 전 조회 2,743
20년 전 조회 2,688
20년 전 조회 2,320
20년 전 조회 1,611
20년 전 조회 2,230
20년 전 조회 3,649
20년 전 조회 4,108
20년 전 조회 1만
20년 전 조회 5,028
20년 전 조회 3,346
20년 전 조회 3,164
20년 전 조회 3,808
20년 전 조회 2,042
20년 전 조회 3,138
20년 전 조회 3,327
20년 전 조회 2,386
20년 전 조회 5,462
20년 전 조회 2,512
20년 전 조회 2,953
20년 전 조회 4,201
20년 전 조회 2,602
20년 전 조회 2,281
20년 전 조회 3,669
20년 전 조회 2,069
20년 전 조회 3,554
20년 전 조회 2,472
20년 전 조회 2,898
20년 전 조회 2,204
20년 전 조회 3,325
20년 전 조회 2,912
20년 전 조회 3,037
20년 전 조회 2,136
20년 전 조회 1,847
20년 전 조회 2,333
20년 전 조회 1,962
20년 전 조회 1,661
20년 전 조회 1,850
20년 전 조회 3,941
20년 전 조회 1,667
20년 전 조회 2,004
20년 전 조회 2,341
20년 전 조회 1,813
20년 전 조회 2,949
20년 전 조회 2,001
20년 전 조회 2,080
20년 전 조회 3,645
20년 전 조회 2,962
20년 전 조회 2,086
20년 전 조회 1만
20년 전 조회 2,228
20년 전 조회 1,570
20년 전 조회 2,642
20년 전 조회 2,259
20년 전 조회 1,656
🐛 버그신고