title: input array sum with jQuery
body: <p>Hello I have unknown quantity of inputs with array name and class</p>
  
  <pre><code>&lt;input type="hidden" name="hidden[1]" class="sum" value="31"&gt;
  &lt;input type="hidden" name="hidden[2]" class="sum" value="21"&gt;
  &lt;input type="hidden" name="hidden[3]" class="sum" value="321"&gt;
  &lt;input type="hidden" name="hidden[4]" class="sum" value="-31"&gt;
  &lt;input type="hidden" name="hidden[5]" class="sum" value="31.12"&gt;
  &lt;input type="hidden" name="hidden[6]" class="sum" value="0"&gt;
  </code></pre>
  
  <p>Question is how sum all values of those fields what i try is to use .each() and getElementByClassName but this wont work </p>