0
我是一個大表內的幾個表,我使用jquery tablesorter排序主表。排序表內
我希望能夠對主表中的各個表進行排序。示例代碼:
<table class="info tablesorter" border="0" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th colspan>The Name</th>
<th>Geography</th>
<th colspan="5">Prospective clients</th>
</tr>
</thead>
<tbody>
<Tr class="parent" id="id_1" style='background-color: white'>
<TD style=vertical-align:middle>Main echo 1</td>
<TD style=vertical-align:middle>New York, NY</td>
<td colspan="5">55</td>
</tr>
<tr class="child-id_1 expand-child" style="display:none">
<td colspan='7'>
<table class="ctable_1 ts2" width=75% id="class_id_1">
<thead><tr>
<th>URL</th>
<th>Contact Page</th>
<th>Phone</th>
<th>GoogleIndex</th>
<th>Listed in next?</th>
<th>Created On</th>
</tr></thead>
<tbody>
<tr class='childofmarket'>
<td> xyz </td>
<td> aaa</td>
<td> ###-###-#### </td>
<td>127</td>
<td>- No -</td>
<td>03-09-2011</td>
</tr>
<tr class='childofmarket'>
<td> aak</td>
<td>csa</td>
<td>##########</td>
<td>69</td>
<td>- No -</td>
<td>03-09-2011</td>
</tr>
等等。我不斷收到
Error: parsers[i] is undefined
任何人都可以告訴我我需要解決什麼嗎?
您能不能給我們一個小提琴手演示? http://jsfiddle.net/ – 2011-03-09 21:25:17
http://fiddle.jshell.net/K6CFk/show/0/ – 2011-03-09 21:39:27