javascript calculate the total from html code
<p>I HAVE </p>

<pre><code>&lt;tr&gt;
&lt;td nowrap="" align="right" id="n_852" class="tab "&gt;1&lt;/td&gt;
&lt;td nowrap="" align="right" id="n_853" class="tab "&gt;2&lt;/td&gt;
&lt;td nowrap="" align="right" id="n_854" class="tab "&gt;3&lt;/td&gt;
&lt;td nowrap="" align="right" id="n_855" class="tab "&gt;4&lt;/td&gt;

&lt;/tr&gt;
</code></pre>

<p>In js Can loop through out array <code>n_i</code> and calculate the total <code>1+2+3+4</code></p>

<p>thanks</p>
