multiple submit button
<p>i've a form POST with multiple submit buttons. i understand to get this to work i must have them with different name.</p>

<p>however, i wanna keep the name to be the same because i wanna handle the POST using a single script.</p>

<p>im not sure if there is other way but i know javascript can be used. however, how do i get the value of the hidden value associated to the button since now they have only a single ??</p>

<p>my example is as follows:</p>

<pre><code>&lt;form method="Post" action="file.php"&gt;

&lt;input type="hidden" name="removeid" value="1" /&gt;
&lt;input type="submit" id="btnremove" name="btnremove" value="Remove" inputbutton/&gt;

&lt;input type="hidden" name="removeid" value="2" /&gt;
&lt;input type="submit" id="btnremove" name="btnremove" value="Remove" inputbutton/&gt;

&lt;input type="hidden" name="removeid" value="2" /&gt;
&lt;input type="submit" id="btnremove" name="btnremove" value="Remove" inputbutton/&gt;

&lt;/form&gt;
</code></pre>
