title: How to find the submit button in a specific form in jQuery
body: <p>I try to get jQuery object of a submit button in a specific form (there are several forms on the same page).</p>
  
  <p>I managed to get the form element itself. It looks something like this:</p>
  
  <pre><code>var curForm = curElement.parents("form");
  </code></pre>
  
  <p>The current Element has the context HTMLInputElement. The several techniques I tried to get the according submit element of the form:</p>
  
  <pre><code>var curSubmit = curForm.find("input[type='submit']");
  var curSubmit = $(curForm).find("input[type='submit']");    
  var curSubmit = curForm.find(":submit");
  var curSubmit = $(curForm).find(":submit");    
  var curSubmit = $(curSubmit, "input[type='submit']");
  </code></pre>
  
  <p>the result is always the same (and very strange). The result that I get is the same element as "curElement".</p>
  
  <p>So how can I get the right submit button?</p>