Domanda

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?

È stato utile?

Soluzione

You are missing this in your 2nd table.

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

FIDDLE

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top