Jquery getting list of values of hidden inputs within a div
<p>I am trying to get a list of values within a div that I will format later using the .each() method. They are input values which are hidden my html and jquery call looks like this.</p>

<pre><code>&lt;div id="container_0"&gt;
   &lt;input type="hidden" id="check_data" value=10&gt;
   &lt;input type="hidden" id="check_data" value=20&gt;
&lt;/div&gt;
</code></pre>

<p>Jquery: </p>

<pre><code>var list = $('#container_0 input#check_data');

$(list).each(
      function() {
           alert($(this).val());
       }
);
</code></pre>

<p>This however is not returning any values. Any help would be greatly appreciated.</p>
