how to get the checked box input value by jquery or javascript?
<p>the input check box  code:</p>

<pre><code>&lt;li class="odd"&gt;&lt;input type="checkbox"  class="forminput" name="VD10" checked="checked" value="http://test1.com"&gt;
&lt;a href="#"&gt;example 1&lt;/a&gt;&lt;/li&gt;

&lt;li class="even&gt;&lt;input type="checkbox"  class="forminput" name="VD11" checked="checked" value="http://test2.com"&gt;
&lt;a href="#"&gt;example 1&lt;/a&gt;&lt;/li&gt;

&lt;li class="odd"&gt;&lt;input type="checkbox"  class="forminput" name="VD12" checked="checked" value="http://test3.com"&gt;
&lt;a href="#"&gt;example 1&lt;/a&gt;&lt;/li&gt;........
</code></pre>

<p>the button code:</p>

<pre><code>&lt;li&gt;
&lt;input type="checkbox" id="checkall" name="checkall" checked="checked"&gt; 
&lt;label for="checkall"&gt;check all&lt;/label&gt;
&lt;input type="button" value="copy the checked link" class="button"&gt;
&lt;/li&gt;
</code></pre>

<p>now, i want to do when click the <code>copy the checked link</code> button. it will copy the checked input value to the clipboard? how do i do?</p>
