title: In Javascript, how do I automatically move the cursor to the next text box when the current one is full?
body: <p>Suppose I have two HTML textboxes on my web page:</p>
  
  <pre><code>&lt;input type='text' id='txt1' maxlength='5' /&gt;
  &lt;input type='text' id='txt2' maxlength='5' /&gt;
  </code></pre>
  
  <p>Each textbox allows the user to type up to five characters.  How can I use Javascript with or without jQuery to automatically move the cursor from <code>txt1</code> to <code>txt2</code> when the user types five charcters into <code>txt1</code>?</p>