Here is one sample code to sum the column values using jquery.
HTML:
<table width="300px" border="1" style="border-collapse: collapse; background-color: #E8DCFF">
<tr>
<td width="40px">1</td>
<td>Number</td>
<td><input class="txt" type="text" name="txt" /></td>
</tr>
<tr>
<td>2</td>
<td>Number</td>
<td><input class="txt" type="text" name="txt" /></td>
</tr>
<tr>
<td>3</td>
<td>Number</td>
<td><input class="txt" type="text" name="txt" /></td>
</tr>
Richard DemsPosted May 20, 2015, 11:28 AM
Great script! I am using to total inputs for investment contribution. Is it possible to edit this script to allow a maximum of 100% in summation field? i.e. input 1 = 30%, input 2=70% Total = 100%?
Dorababu MekaeditedPosted Apr 12, 2012, 11:11 AMEdited Apr 12, 2012, 11:20 AM
Good one is it possible to assign a partiuclar textbox id here which is in gridview which has masterpage