Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2366

External Script Question

$
0
0

I am trying to clean my code up, because of all the extensions and options I have in my DataTable, my total length of code in in line HTML/CSS/JS is like 1350 lines.

In my DataTablesJS.js file, where I will only have my relevant JS within my $(window).on('load', function () {}), I am wondering if I need to insert my Ajax call that gets the table data there, or if I can still have that in its own JS file, and it will still populate since I am drawing that Data to the DataTable.


Viewing all articles
Browse latest Browse all 2366

Trending Articles