Focus next input once reaching maxlength value
No jQuery used and is a very clean implementation: Reads from the maxlength attribute. Scales to any number of inputs inside of your container. Automatically finds the next input to focus. No jQuery. http://jsfiddle.net/4m5fg/5/ <div class=”container”> a: <input type=”text” maxlength=”5″ /> b: <input type=”text” maxlength=”5″ /> c: <input type=”text” maxlength=”5″ /> </div> .. var container … Read more