is "https://cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js" is having any dependency???

is "https://cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js" is having any dependency???

anshul chhabraanshul chhabra Posts: 3Questions: 1Answers: 0

i am getting error(Uncaught TypeError: undefined is not a function ) on this line "register=p=function(a,b){if(h.isArray(a))for(var " .
referening is not a function.
support me with the possible solution.

Answers

  • allanallan Posts: 61,669Questions: 1Answers: 10,096 Site admin

    It is dependent on jQuery.

    Other than that there are no dependencies.

    If you are having a problem with it we'd need a test case, per the forum rules.

    Allan

  • anshul chhabraanshul chhabra Posts: 3Questions: 1Answers: 0

    actually whenever the scripts loads, it gives this error-- Uncaught TypeError: undefined is not a function. and when I click on the error it shows cursor on this path -- (h.isArray(a)) before isArray().
    is there anything that i need to do as i have just added a script tag with given url in my file.

  • allanallan Posts: 61,669Questions: 1Answers: 10,096 Site admin

    As I say, the only dependency is jQuery. Example: http://live.datatables.net/xevibamo/1/edit .

    Allan

  • anshul chhabraanshul chhabra Posts: 3Questions: 1Answers: 0
    edited January 2017

    thanks . that live example worked.
    but now i am getting another problem(please find attached the screenshot of the console).
    cannot able to find the DataTable() function.

  • tangerinetangerine Posts: 3,348Questions: 36Answers: 394

    You are not providing enough information. As Allan has already said:

    ....we'd need a test case, per the forum rules.

  • allanallan Posts: 61,669Questions: 1Answers: 10,096 Site admin

    Agreed. Without a test case I won't be able to respond in this thread any longer.

    Allan

This discussion has been closed.