title: jQuery click next button
body: <p>I have multiple buttons on a page and I want to simulate a click on the NEXT button.</p>
  
  <pre><code>$('input, select').keydown(function(e){
      if(e.which == 13)
      //$('input[type*=button]').click();
      $(this).next('input[type*=button]').click();
  });
  </code></pre>
  
  <p>Html:</p>
  
  <pre><code>&lt;tr&gt;
      &lt;td class="cell"&gt;
          &lt;input type="text" name="domain" class="entryfield" value="http://"&gt;
      &lt;/td&gt; 
  &lt;/tr&gt; 
  &lt;tr&gt; 
      &lt;td class="cell" align="right" colspan="2"&gt;
          &lt;input type="button" class="button" value="Get IP" id="submitDomain"/&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>The commented code works, but that clicks all buttons on the page.</p>
  
  <p>Any help is appreciated, thanks.</p>