[jQuery] tablesorter, numeric sort of anchor values
Hi, I am new to jquery and tablesorter. Please help me with this.
I have my table that displays counts. When users clicks on the count
they are taken to another window.
I need to sort my columns by that count, i.e numeric sort. How would
I do that?
<th>P1</th>
<th>P2</th>
<tbody>
<tr>
<td><a target='cWin' href='/id/host.do?host=id&priority=pr1'>42</a></
td>
<td><a target='cWin' href='/id/host.do?host=id&priority=pr2'>9</a></
td>
</tr><tr>
<td><a target='cWin' href='/id/host.do?host=id&priority=pr1'>45</a></
td>
<td><a target='cWin' href='/id/host.do?host=id&priority=pr2'>789</a></
td>
</tr>
I am the one who builds the table body, so I can modify the links any
way I need.