title: How to sum the number from td tag using id with array
body: <p>I am trying to get a sum of numbers inside <code>td</code> tag and the tags have <code>id=total[]</code> which comes as an array. Example <strong>:</strong></p>
  <pre><code>&lt;td id=&quot;total[1]&quot;&gt;200&lt;td&gt;
  &lt;td id=&quot;total[2]&quot;&gt;400&lt;td&gt;
  &lt;td id=&quot;total[3]&quot;&gt;500&lt;td&gt;
  ...etc
  </code></pre>
  <p>How do I get the sum of all of them using the id ?</p>