Possible Javascript submit one value from multiple equal name input?
<p>This code has two links with same name but different values. If i click first link, i want to get value 10.  Is it possible using javascript with link submit()?? </p>

<pre><code>    &lt;form name="listpages" action="page.php" method="post"&gt;

    &lt;input type="hidden" name="pgnum" value="10"&gt;
    &lt;a href="javascript: document.listpages.submit()"&gt;&lt;/a&gt; 
    &lt;input type="hidden" name="pgnum" value="20"&gt;
    &lt;a href="javascript: document.listpages.submit()"&gt;&lt;/a&gt;  

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

<p>thanks in advance</p>
