DataTables not working, I'm sure I've linked correctly

DataTables not working, I'm sure I've linked correctly

sinesinesinesine Posts: 4Questions: 3Answers: 0

Hi all,

I've been trying to get the awesome DataTables to work with local files - It's worked perfectly so far with CDN links, but since downloading the files locally, it just isn't working. Below is the <head> of this example page:

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>View Student Information</title>

    <!-- CSS -->
    <link href="css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="DataTables/datatables.min.css"/>

    <!-- Scripts -->
    <script type="text/javascript" src="DataTables/datatables.min.js"></script>
    <script src="js/jquery-3.1.1.min.js"></script>
    <script src="js/bootstrap.min.js"></script>

  </head>

And here is a screenshot of the page not initiating DataTables

Any help would be greatly appreciated!

Answers

  • allanallan Posts: 63,819Questions: 1Answers: 10,517 Site admin

    The code above looks okay. What is shown in your browser's Javascript console.

    If you have a link to the page, per the forum rules, I'd be able to help answer the question.

    Allan

This discussion has been closed.