jquery calculate the sum of columns then add to existing total
<p>I have seen plenty of examples on here where the sum is calculated from the quantity and the price columns and a total is added up at the bottom of the table.  </p>

<p>I am using this idea but want to take it further. In this <a href="http://jsfiddle.net/aaronk85/k8amK/1/" rel="nofollow">fiddle</a> I have an additional colum called country and a seperate table down the bottom that lists the country and their yearly total. I want to be able to add a value to the quanty field and have it update both the sum and the yearly total. eg if I put in 1 in the FIN row the sum will be 2.45 and the yearly total will be 247.45. </p>

<p>I don't think I can hardcode a variable eg</p>

<pre><code>var $fin= 245;
</code></pre>

<p>because the data in the second table will change as actual sales are made but this page is just for the user to do a quick projection so I am unsure on the best way to approach this.</p>
