I'm using Bootstrap datatables in my asp.net web api project. So i have to reference several javascript files from the internet by a given link. One of them is:
https://cdn.datatables.net/1.10.13/js/dataTables.bootstrap.min.js
I'm thinking of transferring the code to my own JS file, so that i could access the code even without internet connection. Because when there is no internet connection and i try to run my project, the table don't display well.
But the problem is, when i created a JS file and copypasted the code from the internet, and run my project it didn't work. The table don't display well. Why is this?