Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82616

Referencing CDN in Multiple HTML Files

$
0
0

I have multiple HTML files that are referencing the same Datatable CDN code. Since the references are updated on occasion, I'd like to have the CDN references sit in 1 HTML file, having all the other HTML head sections referencing that 1 other file, which can then easily be updated.

...
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/jszip-2.5.0/dt-1.10.16/af-2.2.2/b-1.5.1/b-colvis-1.5.1/b-flash-1.5.1/b-html5-1.5.1/b-print-1.5.1/cr-1.4.1/fc-3.2.4/fh-3.1.3/kt-2.3.2/r-2.2.1/rg-1.0.2/rr-1.2.3/sc-1.4.4/sl-1.2.5/datatables.min.css"/>



...

Any idea on how to do this? I'm a beginner, so any help would be much, much appreciated.

thanks.


Viewing all articles
Browse latest Browse all 82616

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>