I've designed an HTML table to function as a spreadsheet, with the goal of being able to total up rows and display the sum in a cell labeled "Total." The same calculation should be applied to columns as well, with totals displayed in the last column cell. I've attempted various jQuery implementations without success. Here's the structure of the table:
<!-- Table Content Starts Here -->
<div class="tableContent">
<div class="row">
<div class="col-md-12">
<table id="ccTable" cellpadding="0" cellspacing="0" border="1" class="table table-striped table-bordered table-hover">
<thead>
<tr class="tableHdr">
<th scope="col" align="right">Days</th>
<th scope="col">S</th>
<th scope="col">M</th>
<th scope="col">T</th>
...
<td><input type='text' size ="2"class='editable' value='0.00' /></td>
</tr>