my HTML look like this
<table>
<tr>
<td>Input 1</td>
<td>Input 2</td>
<td>Total</td>
<td> </td>
</tr>
<tr>
<td><input></td>
<td><input></td>
<td><input disabled></td>
<td><button value="add">Add</button></td>
</tr>
<tr>
<td> </td>
<td>Grand Total</td>
<td><input disabled ></td>
<td> </td>
</tr>
</table>
i`m trying to calculate between two input and can add new row after that using javascrtpt… pls help me..
you can do it in two ways give id to your table, access your table object then add a new row by table.innerhtnl+= your new rows tags. or also in this way
for demo visit here