* TypeError: 'undefined' is not a function (evaluating '$('#tableCol').DataTable()'). How to solve?
* TypeError: 'undefined' is not a function (evaluating '$('#tableCol').DataTable()'). How to solve?
Adarsh94
Posts: 10Questions: 6Answers: 0
i have used jquery data tables and i am able to run my project. when i test other codes using jasmine it fails. So when i do maven build it shows the above error. Can anyone solve this issue asap.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Thanks for your question. As noted in the forum rules, please post a 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.
Allan
Well i figured out why my test case is not running. it is because the spec file is unable to access the data table method written in javascript. Now i have solved the question with your help. thanks a lot