未捕获的TypeError:jQuery(...)。tablesorter不是一个函数 [英] Uncaught TypeError: jQuery(...).tablesorter is not a function
本文介绍了未捕获的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();
这篇关于未捕获的TypeError:jQuery(...)。tablesorter不是一个函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文