title: To submit a form in jquery by triggering one of sumbit button
body: <p>If a form has two submit button, Then i need to submit a form by jquery as triggering submit of one of the submit button.</p>
  
  <pre><code>&lt;?php
  if(isset($_REQUEST['submit_button1']))
  {
  echo "form submitted by clicking submit button 1";
  }
  elseif(isset($_REQUEST['submit_button2']))
  {
  echo "form submitted by clicking submit button 2";
  }
  
  ?&gt;
  
  
  &lt;form name="check" action=""&gt;
  &lt;input type="text" name="text_val" id="text_val"&gt;
  &lt;input type="submit" name="submit_button1" value="submit button1"&gt;
  &lt;input type="submit" name="submit_button2" value="submit button2"&gt;
  &lt;/form&gt; 
  </code></pre>
  
  <p><strong>question:</strong> <code>$("form[name='check']").submit()</code> submit the form in script. I need to submit the form by indicating that form is submitted by submit button 1 or submitted button2 in jquery.</p>
  
  <p>Please help me in advance...</p>