how to sum values in each row of a column of html table generated from database in jsp using javascript?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6931775/how-to-sum-columns-of-html-table-generated-from-database-in-jsp-using-javascript">how to sum columns of html table generated from database in jsp using javascript?</a>  </p>
</blockquote>



<p>hey i want to sum all the values in one column of html table and get total at the bottom. I am working on jsp. The values in each block is pulled from database so there are no values which have been feeded into the table manually. </p>

<p>I have seen few javascript code which sums the column values but those tables have data which was written manually. for eg 1321 1213654
But my table in jsp page has rows something like this: - &lt;%=size%> &lt;%=area%> where area and size are variables who carry value which was pulled from database.</p>

<p>Can anybody suggest me solution with code? thanks</p>
