Send Multiple Values from javascript function to PHP page
<p>here is the sample code.</p>

<pre><code>&lt;form id="form1" name="form1" action="phpPage.php" method="POST"&gt;
  &lt;!--5 diff values in form1 . . . --&gt;
  &lt;input id="b1" onclick="functionOne();"&gt;
&lt;/form&gt;
&lt;form id="form2" name="form2" action="phpPage.php" method="POST"&gt;
  &lt;!-- 5 diff values in form2 . . . --&gt;
  &lt;input id="b2" onclick="functionTwo();"&gt;
&lt;/form&gt;
</code></pre>

<p>i have up to 8 forms.</p>

<p>The problem is when I click the button <code>b5</code>, after all the validation checks have performed, I want it so it sends all values from <code>form1</code>-<code>form5</code>. I have collected the values in JS function (<code>functionFive()</code>;) through jQuery. How can I send these values to the <code>phpPage.php</code> ?</p>

<p>Remembering that we have fired the <code>onclick</code> event on <code>b5</code> and, as the result, the <code>functionFive</code> has been called for validation checks. How do I send the values from here to php page?</p>
