データ行を持つテーブルがあります。
<tbody>
<tr class="rows">
<td><input type="text" name="total" value="3500.00" id="total" class="price"></td>
<td>$<input type="text" value="23.00" name="customerS" id="customerS" class=""></td>
</tr>
<tr class="rows">
<td><input type="text" name="total" value="3900.00" id="total" class="price"></td>
<td>$<input type="text" value="3446.00" name="customerS" id="customerS" class=""></td>
</tr>
</tbody>
行の ID を使用して関数を呼び出したい。
format('total', 'customerS');
私が理解できないのは.each
、フォーマットが各tr(行)に対して呼び出されるように、関数フォーマットを呼び出す方法です。教えてください、ありがとう。