input 박스에 maxlength 만큼 입력했을 때 자동으로 다음 박스로 이동하기 > jquery

본문 바로가기
사이트 내 전체검색

jquery

input 박스에 maxlength 만큼 입력했을 때 자동으로 다음 박스로 이동하기

페이지 정보

작성자 서방님 댓글 0건 조회 275회 작성일 19-12-10 17:33

본문

<script type="text/javascript">
<!--
$(".input_box").keyup(function() {
	if (this.value.length == this.maxLength) {
		$(this).next(".input_box").focus();
	}
});
//-->
</script>

댓글목록

등록된 댓글이 없습니다.

회원로그인

접속자집계

오늘
524
어제
3,689
최대
26,974
전체
544,909
Latest Crypto Fear & Greed Index

그누보드5
Copyright © 서방님.kr All rights reserved.