3-step setup goes wrong

3-step setup goes wrong

GrassGetsGreenerGrassGetsGreener Posts: 2Questions: 1Answers: 1

Hey,

I've followed the 3-step setup found on the homepage. I've got the CSS + JS, copied the source code and pasted it into new files and saved them and references them in my code:

    <link rel="stylesheet" href="<?php echo $feRoot; ?>css/bootstrap.css" />
    <link rel="stylesheet" href="<?php echo $cssPath; ?>jquery.multiselect.css" />
    <link rel="stylesheet" href="<?php echo $cssPath; ?>font-awesome.min.css" />
    <link rel="stylesheet" href="<?php echo $cssPath; ?>datatables.min.css" />
    <link rel="stylesheet" href="<?php echo $cssPath; ?>styles.css" />

and

    <script src="<?php echo $jsPath; ?>jquery.min.js"></script>
    <script src="<?php echo $jsPath; ?>bootstrap.min.js"></script>
    <script src="<?php echo $jsPath; ?>jquery.multiselect.js"></script>
    <script src="<?php echo $jsPath; ?>datatables.min.js"></script>
    <script src="<?php echo $jsPath; ?>main.js"></script>

I've then tried to init DataTables on my table:

    //make table -> datatables
    $('#match-mgr-table').DataTable()

but I get in my console:

TypeError: i is undefined

What am I doing wrong? (would it help to post HTML)?

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.