title: Jquery submit multiple forms in a page
body: <p>I searched and found the nice code from here. <a href="https://stackoverflow.com/questions/1200266/submit-a-form-using-jquery">Submit a form using jQuery</a></p>
  
  <pre><code>    &lt;input type='button' value='Submit form' onClick='submitDetailsForm()' /&gt;
  &lt;script language ="javascript" type = "text/javascript" &gt;
      function submitDetailsForm()
      {
         $("#formId").submit();
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>But can you please advise how to deal with multiple form within a page such?</p>
  
  <pre><code>&lt;form id="myForm1" action="comment.php" method="post"&gt;&lt;/form&gt;
  &lt;form id="myForm2" action="comment.php" method="post"&gt;&lt;/form&gt;
  &lt;form id="myForm3" action="comment.php" method="post"&gt;&lt;/form&gt;
  &lt;form id="myForm4" action="comment.php" method="post"&gt;&lt;/form&gt;
  </code></pre>