未捕获的TypeError:jQuery(...)。tablesorter不是一个函数
问题描述:
我有一个typo3插件帽在typo3 6.2.31正常工作现在我迁移到7.6.23。我有几个jQuery库的问题。我经常遇到这个错误:
I have a typo3 plugin hat works fine in typo3 6.2.31 now I migrate to 7.6.23. I have several problems with jQuery libraries. I often got this error:
未捕获TypeError:jQuery(...)。tablesorter不是函数
Uncaught TypeError: jQuery(...).tablesorter is not a function
或
未捕获的TypeError:$(...)。tablesorter不是函数
Uncaught TypeError: $(...).tablesorter is not a function
正确加载库。有没有办法解决这个问题?谢谢。
The library is loaded correctly. Is there a way to fix this issue? Thanks.
答
一个有效的解决方案是:
A working solution is:
TYPO3.jQuery(".table.sortable").tablesorter();