Type Error:(..).Datatable is not a function
Type Error:(..).Datatable is not a function
Hi all,
I know this is a question that asked by many other users. But I couldn't solve by checking their answers.
So in my header I include
src="./../jquery-1.9.1.min.js">
src="./../angular.min.js">
other script...
type="text/javascript" src="https://cdn.datatables.net/r/dt/dt-1.10.9/datatables.min.js">
In
$(document).ready(function()
{
$('#table').DataTable(); [ I tried dataTable, DataTable, datatable,Datatable]
}
I use dataTable debug and it shows dataTable not available.
I'm not sure if I miss something or did anything wrong.
If anyone could give me some hit that would be fantastic.
BTW: I am using angularjs, ng-grid, jqueryUI and sortable plug in. Don't know if that is the problem.
Thanks.
Answers
Please link to a test page showing the issue, per the forum rules.
The error you are seeing suggests that two different versions of jQuery are being loaded with one overwriting the other.
Allan