Uncaught TypeError: (intermediate value)[(intermediate value)(intermediate value)(intermediate value
Uncaught TypeError: (intermediate value)[(intermediate value)(intermediate value)(intermediate value
dushe_85
Posts: 1Questions: 1Answers: 0
Good afternoon, please can you help me with this problem:
I get this problem recently.
Uncaught TypeError: (intermediate value)[(intermediate value)(intermediate value)(intermediate value)] is not a function.
dataTables.editor.min.js:1
This discussion has been closed.
Answers
Hi @dushe_85 ,
We're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Hi @nomade_5h ,
This looks like a different problem to the OP. For you, it looks like you're not including the DataTables libraries. If you look at the example here, you can see what you need. Also, try running the debugger, this will confirm if libraries are missing.
Cheers,
Colin
Hi @nomade_5h ,
Something wonky went on there - your post seems to have been lost with my reply. Hopefully the comment will still make sense to you!
Cheers,
Colin
Hello, something happened there; I call the linked libraries perfectly:
localhost:8080/.../.../js/ajax/jquery-3.2.1.min.js"></script>
localhost:8080/.../.../js/ajax/jquery.min.js"></script>
localhost:8080/.../.../js/jquery-migrate-1.2.1.min.js"></script>
.../edit/js/jquery.dataTables.min.js"></script>
.../edit/js/dataTables.buttons.min.js"></script>
.../edit/js/dataTables.select.min.js"></script>
.../edit/js/dataTables.editor.min.js"></script>
This is the error that comes out now:
Uncaught TypeError: Cannot read property 'Editor' of undefined
at Object.success ((index):729)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at A (jquery.min.js:4)
at XMLHttpRequest.<anonymous> (jquery.min.js:4)
This is my code:
editor = new $.fn.dataTable.Editor( {
}//fin ajax
} );
**
Note: I was using the trial version and it seemed to be overdue ... there may be something something about that.**
Looks like you are loading jQuery twice. This will cause problems. You only want to load it once.
Kevin
**Ok, I put it like this:
This came out:
Please, what am I doing wrong?
You haven't included the Editor JS files. Note, Editor is licensed, so you'll need to either purchase or get a trial first.
Are you using
$.noConflict();
perhaps? If it isn't that can you link to a page showing the issue please?Allan