سؤال

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