title: Focus on next input field inside table with enter key press
body: <p>I need to move in to the next input field inside a table with many rows using enter key press. I try this :</p>
  
  <pre><code>$(function() {
  
      $('input').keyup(function (e) {
         if (e.which == 13) {
         $(this).find().next('input').focus();
         }
       });
  
  });
  </code></pre>
  
  <p>Why dont work ? :(</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;table class="half"&gt;
    &lt;tr&gt;
    &lt;td&gt;Nome :&lt;/td&gt;
    &lt;td&gt;&lt;input name="ragsoc" type="text" id="ragsoc" value=""/&gt;&lt;/td&gt;
    &lt;td&gt;Mnemo:&lt;/td&gt;
    &lt;td&gt;&lt;input name="mnemo" type="text" id="mnemo" value=""/&gt;&lt;/td&gt;
    &lt;td&gt;Partita IVA :&lt;/td&gt;
    &lt;td&gt;&lt;input name="piva" type="text" id="piva" value=""/&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;Nome :&lt;/td&gt;
    &lt;td&gt;&lt;input name="ragsoc" type="text" id="ragsoc" value=""/&gt;&lt;/td&gt;
    &lt;td&gt;Mnemo:&lt;/td&gt;
    &lt;td&gt;&lt;input name="mnemo" type="text" id="mnemo" value=""/&gt;&lt;/td&gt;
    &lt;td&gt;Partita IVA :&lt;/td&gt;
    &lt;td&gt;&lt;input name="piva" type="text" id="piva" value=""/&gt;&lt;/td&gt;
    &lt;/tr&gt;
   &lt;/table&gt;
  </code></pre>
  
  <p>This code work fine but only in the first row of table :</p>
  
  <pre><code>$('input').keydown(function (e) {
      if (e.which === 13) {
      $(this).closest('td').nextAll().eq(1).find('input').focus()
      }
   });
  </code></pre>
  
  <p>What is wrong or missing ?</p>