0
是否可以計算表格的平均等級? 我只找到輸入字段的答案。 我想在「totalAvg」中顯示頁腳的平均值。 我不知道是否有可能與jQuery插件?計算表中的平均值
<table class="kader">
<tbody>
<tr class="head">
<th colspan="1">Nr</th>
<th colspan="1">Gegner</th>
<th colspan="1">Tore</th>
<th colspan="1"><span class="positionc pos_11">11</span></th>
<th colspan="1">Asissts</th>
<th colspan="1"><span class="positionc pos_yc"></span></th>
<th colspan="1"><span class="positionc pos_yc"></span> <span class="positionc pos_rc"></span></th>
<th colspan="1"><span class="positionc pos_rc"></span></th>
<th colspan="1">Grade 1</th>
<th colspan="1">Grade 2</th>
<th colspan="1">Grade 3</th>
</tr>
</tbody>
<tbody>
<tr>
<td>1.</td>
<td>FC Augsburg</a></td>
<td class="mini_note">-</td>
<td class="mini_note">-</td>
<td class="mini_note">-</td>
<td class="mini_note">-</td>
<td class="mini_note">-</td>
<td class="mini_note">-</td>
<td class="mini_note"><span class="position pos_y">3</span></td>
<td class="mini_note"><span class="position pos_y">3,5</span></td>
<td class="mini_note"><span class="position pos_y">3</span></td>
</tr>
<tr>
<td>2.</td>
<td>1899 Hoffenheim</td>
<td class="mini_note">-</td>
<td class="mini_note">-</td>
<td class="mini_note">-</td>
<td class="mini_note">-</td>
<td class="mini_note">-</td>
<td class="mini_note">-</td>
<td class="mini_note"><span class="position pos_y">4</span></td>
<td class="mini_note"><span class="position pos_r">4,5</span></td>
<td class="mini_note"><span class="position pos_y">4</span></td>
</tr>
</tbody>
<tbody>
<tr class="footer">
<th colspan="1"></th>
<th colspan="1"></th>
<th colspan="1"></th>
<th colspan="1"></th>
<th colspan="1"></th>
<th colspan="1"></th>
<th colspan="1"></th>
<th colspan="1"></th>
<th colspan="1" class="totalAvg"></th>
<th colspan="1" class="totalAvg"></th>
<th colspan="1" class="totalAvg"></th>
</tr>
</tbody>
</table>