Bootstrap 4 and datatables dont work seem to work together

Bootstrap 4 and datatables dont work seem to work together

sjaakie325sjaakie325 Posts: 3Questions: 1Answers: 0

Hello everyone,

I was wondering if people could check out why my datatables isn't working when I'm using bootstrap 4.

Before I never used bootstrap , now I started to use it and combine it with datatables my datatables doesn't work anymore.

Maybe I have the wrong CDN's , or something else

Could you please check it ou my code here? https://paste.ofcode.org/x7vNXtKwdyySEAR9sTD6WX

Regards

sjaakie

This question has an accepted answers - jump to answer

Answers

  • sjaakie325sjaakie325 Posts: 3Questions: 1Answers: 0

    I get these errors in my cpanel
    https://imgur.com/a/8xt3pkk

    I removed 1 wrong CDN line

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Answer ✓

    Check your script references.
    jQuery should appear before DataTables, and you are referencing datatables.min.js twice.

  • sjaakie325sjaakie325 Posts: 3Questions: 1Answers: 0

    Ofc thanks haha, atleast got some other issues with bootstrap and datatables but will try to figure them out myself

This discussion has been closed.