문제

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?

도움이 되었습니까?

해결책

You are missing this in your 2nd table.

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

FIDDLE

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top