[Err] - Datatable is not a function

[Err] - Datatable is not a function

btgomezbtgomez Posts: 14Questions: 6Answers: 0
edited January 2019 in Free community support

Having an error while implementing the datatables
Uncaught TypeError: $(...).Datatable is not a function

Here's are my script and stylesheet.

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>

    <link rel="stylesheet" href="https://cdn.datatables.net/1.10.18/css/dataTables.semanticui.min.css" />
    <script src="https://cdn.datatables.net/1.10.18/js/jquery.dataTables.min.js"></script>
    <script src="https://cdn.datatables.net/1.10.18/js/dataTables.semanticui.min.js"></script>

Below is the actual error:

I don't know if the sequence of my scripts are incorrect.

Thanks,

Answers

  • btgomezbtgomez Posts: 14Questions: 6Answers: 0

    It should be DataTable instead of Datatable.

This discussion has been closed.