Mithrand1r
Mithrand1r

Reputation: 2353

Jquery tablesorter cant sort multiple tables

I have a problem with properly using tablesorter script. Here is How I am implementing my tables :

Link to my JSFiddle

Unfortunately sorting works only on the first table. Funny thing is that if I create a copy of first table and give this table id='myTable2' sorting on the second table works as it should. I believe that there is something wrong with my table syntax but there is nothing highlighted by the jsfiddle. Even FireBug is not detecting any errors...

Can anyone point me where I am doing mistake?

Upvotes: 1

Views: 225

Answers (1)

Anup
Anup

Reputation: 9746

You are missing this in your 2nd table.

<thead></thead>
<tbody></tbody>

FIDDLE

Upvotes: 1

Related Questions