$(".inputs").keyup(function () {
if (this.value.length == this.maxLength) {
$(this).next('.inputs').focus();
}
});
참고사이트 : http://stackoverflow.com/questions/23888537/auto-tab-to-next-input-field-when-fill-4-characters[jQuery] input 박스에 maxlength 만큼 입력했을 때 자동으로 다음 박스로 이동하기
2016. 7. 13. 14:27