Tan solo quisiera saber como poder sumarle las columnas, ya que soy nuevo y desearía saber como aplicarlo con java script.
Esta es mi función:
<table id="tabla" class="table" style="width:51%;">
<thead>
<tr>
<th>letras</th>
<th>A</th>
<th>B</th>
<th>C</th>
<th>D</th>
<Th>E</Th>
<Th>F</Th>
<Th>H</Th>
</tr>
<tr>
<td id="f1">a</td>
<td id="f2" >1</td>
<td id="f2">2</td>
<td id="f2">3</td>
<td id="f2">4</td>
<td id="f2">5</td>
<td id="f2">6</td>
<td id="f2">7</td>
</tr>
<tr>
<td id="f1">b</td>
<td id="f2">1</td>
<td id="f2">2</td>
<td id="f2">3</td>
<td id="f2">4</td>
<td id="f2">5</td>
<td id="f2">6</td>
<td id="f2">7</td>
</tr>
<tr>
<td id="f1">c</td>
<td id="f2">1</td>
<td id="f2">2</td>
<td id="f2">3</td>
<td id="f2">4</td>
<td id="f2">5</td>
<td id="f2">6</td>
<td id="f2">7</td>
</tr>
<tr>
<td >su total:</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</thead>
</table>