Support for jquery 3

Support for jquery 3

xXSkeith22XxxXSkeith22Xx Posts: 7Questions: 4Answers: 1

"datatables.min.js:18 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3"

Answers

  • xXSkeith22XxxXSkeith22Xx Posts: 7Questions: 4Answers: 1
    edited October 2016

    can anyone please update the datatable.js to support jquery 3.
    its a big problem for me right now. TY :)

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

    DataTables works no problem with jQuery 3: http://live.datatables.net/vetuziru/1/edit .

    The error you give states that it is Bootstrap that has the issue (although it is included in the datatables.min.js file. What you would need to do it load Bootstrap from a different resource.

    I'm going to release an updated version of DataTables soon - I will make sure all the dependencies are also up to date at that point.

    Allan

  • xXSkeith22XxxXSkeith22Xx Posts: 7Questions: 4Answers: 1

    I'm pretty sure Bootstrap doesn't have any problems with jQuery 3.1.1 cause it doesn't give me errors at all

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

    The error you quoted above was:

    Bootstrap's JavaScript requires jQuery version 1.9.1

    If you can give me a link to a page showing the issue I will be able to debug it.

    Allan

This discussion has been closed.