JQuery extract string multiple time
<p>Given the following HTML that is in a JavaScript string variable I'd like to extract into an array the values 1234, 5678, 9012 using JQuery:</p>

<pre><code>&lt;input type="hidden" id="name" value="1234"/&gt;
&lt;input type="hidden" id="name" value="5678"/&gt;
&lt;input type="hidden" id="name" value="9012"/&gt;
</code></pre>

<p>I've tried various reg expressions, but I'm having trouble looping or <code>$each</code> round the string to find all the <code>values="xxxx"</code></p>
