Thanks Gregory
I tried it but it didn't solve my problem - but then I'm not using the zebra
plugin...
2008/8/19 Gregory Foster <[EMAIL PROTECTED]>
>
> I ran into this error when attempting to apply the tablesorter plugin
> to an empty table, also with multiple tables on the page. In my case,
>
I ran into this error when attempting to apply the tablesorter plugin
to an empty table, also with multiple tables on the page. In my case,
I was able to work around this error by testing for the existence of
rows in the table before deciding whether or not to apply tablesorter
using jQuery's :ha
The error seems to be caused from this line.
$.tablesorter.defaults.sortList = [[4,0]];
I also put the headers line in the call, so my script look like:
$(document).ready(function() {
// extend the default setting to always include the zebra widget.
$.tablesorter.defaults.widgets = ['zebra'
3 matches
Mail list logo