[TYPO3-dev] jquery, datatable backend typo3 6.2

Équipe Tactic equipe.tactic at fsg.ulaval.ca
Wed Dec 9 16:23:05 CET 2015


I'm trying to include jquery in my backend module like this : 

$this->pageRenderer->loadJquery('latest', 'google');

And loading datatables

$this->pageRenderer->addJsLibrary("datatable",$this->doc->backPath . 'contrib/jquery/jquery.dataTables-1.9.4.min.js');

I have a custom javascript too for my extension, but when it loads it tells me that : Uncaught TypeError: jQuery is not a function

jQuery(selector).dataTable()

If you need more details just ask.






More information about the TYPO3-dev mailing list