[CSS] input에서 Tab키로 순차적 focus이동하기
2018.07.11
작성일/수정일
2018-07-11 17:03:47 / 2018-07-11 17:03:47
연속된 input박스가 있을 때,
Tab키를 누르면 다음 input박스로 이동이 가능하게 하고싶다!
tabIndex
<div class="login-wrap">
<input type="text" tabIndex="1" placeholder="아이디를 입력해주세요"/>
<input type="password" tabIndex="2" placehoder="패스워드를 입력해주세요"/>
</div>