Javascript/Javascript+jQuery
[jQuery] input 박스에 maxlength 만큼 입력했을 때 자동으로 다음 박스로 이동하기
자연코딩
2018. 4. 12. 15:24
반응형
$(".inputs").keyup(function () {
if (this.value.length == this.maxLength) {
$(this).next('.inputs').focus();
}
});
출처: http://88240.tistory.com/460?category=409238 [shaking blog]
반응형