我有一个typo3插件帽子在typo3中工作正常6.2.31现在我迁移到7.6.23。我有几个问题与jQuery库。我经常得到这个错误:Uncaught TypeError:jQuery(...)。tablesorter不是函数
Uncaught TypeError: jQuery(...).tablesorter is not a function
或者
Uncaught TypeError: $(...).tablesorter is not a function
库加载正确。有没有办法解决这个问题?谢谢。
您说库已正确加载,但错误会另行声明。你正在加载库异步,并且路径正确吗? –
也尝试检查你是否不止一次加载jquery,这也不建议根据这个:https://github.com/Mottie/tablesorter/issues/1179 – cloned
路径是正确的。我在后端应用程序的default.html中加载jquery – Felix