Get all div values of similiar id in a particular div
<p>I have a div structure like below </p>

<pre><code>    &lt;div id=main"&gt;
&lt;input type="hidden" id="people_0_1_0" value="12"/&gt;
&lt;input type="hidden" id="people_0_1_1" value="12"/&gt;
&lt;/div&gt;
</code></pre>

<p>Now how to add all hidden input values in a variable. Thanks</p>
