Recently diving into Javasript, I came across the code snippet below from a different source that I tweaked to suit my needs. My goal is to show the subtotal in the third column for each benefit while displaying the total of the entire form. However, I'm encountering issues with displaying the Subtotal correctly. Here's the code I've been working with. Any assistance you can provide would be greatly appreciated. Thank you!
<table cellpadding="5" cellspacing="3" style="font-size:10px;color: #1666AF; line-height:2.1;" width="280">
<tbody>
<tr>
<td width="60%"><span style="color: #DF2727; font-weight:bold;">Benefits</span></td>
<td width="20%" align="center" ><span style="color: #DF2727; font-weight:bold;">Qty</span></td>
<td width="20%"><span style="color: #DF2727; font-weight:bold;">Savings</span></td>
</tr>
...