ここは私のHTMLです...これはプログラミングに使用するツールによって生成されています。テーブルクラスはmrquestiontableです。表の中の各入力ボックスにはクラスmreditがあります。 mreditを使用して私はすべてのボックスの合計を行うことができますが、列の合計を別々に行うことはできません。ここをクリックしてください。jqueryを使用して列の合計を個別に行い、新しい行の各列の下に個々の列の合計を表示する必要があります
<table summary="Please indicate the type of hospital/ clinic where you are
currently practicing and the proportion of time spent in each practice."
class="mrQuestionTable">
<tr><td></td>
<td><span><center><b>Main Practice</b></center></span></td>
<td><span><center><b>Secondary Practice</b></center></span></td>
</tr>
<tr>
<td><span class="mrQuestionText">Public Hospital</span></td>
<td><span><input type="text" class="mrEdit" value=""/></span></td>
<td><span><input type="text" class="mrEdit" value=""/></span></td>
</tr>
<tr>
<td><span class="mrQuestionText">Private Hospital</span></td>
<td><span><input type="text" class="mrEdit" value=""/></span></td>
<td><span><input type="text" class="mrEdit" value=""/></span></td>
</tr>
</table>
あなたが使用しているjQueryのコードを共有してください –