I have many <input>s which accept at most three characters, as shown.
<input type="text" id="0" maxlength="3"/>
<input type="text" id="1" maxlength="3"/>
<input type="text" id="2" maxlength="3"/>
<input type="text" id="3" maxlength="3"/>
Can we:
- allow the user to move textboxes by pressing the Enter key?
- automatically move the user to the next text box after entering three or more characters?
I have seen a few questions on this topic using JQuery, but I am looking for an exclusively JavaScript solution, if at all possible.