开发者

Jquery table sorter not working and disable all other javascript

开发者 https://www.devze.com 2023-03-30 05:51 出处:网络
I have added Jquery table sorter to my head. When I add the following to my javascript: $(\"table\").tablesorter();

I have added Jquery table sorter to my head.

When I add the following to my javascript:

                       $("table").tablesorter();

All of my other Jquery gets disabled and the table sorter does either wor开发者_高级运维k.


try to open firebug or the console on chrome / ie9.

You have a javascript error which prevents any further execution.

Probably, the tablesorter plugin is not loaded. (<script ... src="wrong here" .../>)

if it is, and your error is inside tablesorter.min.js, you can try to use the not minified version.

ALternatively, your table is empty. If I remember correctly, tablesorter needs a non empty table.

0

精彩评论

暂无评论...
验证码 换一张
取 消