Define is not defined, editor is not defined
Define is not defined, editor is not defined
Hi there
I want to create a datatable, I included every file(i think) and I'm loading them in the right order.
Order:
1. /jquery-2.1.1.min.js
2. https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js
3. https://editor.datatables.net/extensions/Editor/js/dataTables.editor.min.js
4. custom.js
I also included the css files:
https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css
https://editor.datatables.net/extensions/Editor/css/editor.dataTables.min.css
It still says:
1) Uncaught ReferenceError: define is not defined
at dataTables.editor.min.js:1
at dataTables.editor.min.js:1
2)Uncaught ReferenceError: editor is not defined
at HTMLAnchorElement.<anonymous> (adminCreate.js:96)
at HTMLTableElement.dispatch (jquery-2.1.1.min.js:3)
at HTMLTableElement.r.handle (jquery-2.1.1.min.js:3)
Can anyone help?
Kind Regards
This question has an accepted answers - jump to answer
Answers
It should really be throwing a message onto the console stating that. I'll have a look and see why that isn't working.
Allan