$.fn.dataTable or $.fn.DataTable
$.fn.dataTable or $.fn.DataTable
stwe
Posts: 8Questions: 3Answers: 0
What is right? $.fn.dataTable or $.fn.DataTable
In Version 1.10 , I use :DataTable but I can see also this: $.fn.dataTable.pipeline
This discussion has been closed.
Answers
Either. They are different objects (because of how the API works), but the plug-ins should attach themselves to both.
$.fn.dataTable
is probably safest as not all plug-ins do (they should).Allan