title: jquery sum all values in repeating row array
body: <p>Hello everyone I couldn't find the solution for ;</p>
  
  <pre><code>&lt;tr&gt;&lt;td&gt; Some Code here &lt;input name="forwardings[nodes][amount][]" class="repeatingClass"&gt; some more code here &lt;/td&gt; &lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt; Some Code here &lt;input name="forwardings[nodes][amount][]" class="repeatingClass"&gt; some more code here &lt;/td&gt; &lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt; Some Code here &lt;input name="forwardings[nodes][amount][]" class="repeatingClass"&gt; some more code here &lt;/td&gt; &lt;/tr&gt;
  </code></pre>
  
  <p>and I need to sum all repeatingClass values when I focus out from one of these I tried something like this but couldn't handle this;</p>
  
  <pre><code> $('.repeatingClass').focusout(function(){
       var totalPoints = 0;
     $('.repeatingClass').each(function(){
       totalPoints += $('.repeatingClass').val();
     });
     alert(totalPoints);
   });
  </code></pre>
  
  <p>What can I do ?
  regards</p>