Can we link multiple versions of datatables in single file?
Can we link multiple versions of datatables in single file?
Hai,
I have attached many versions of datatables in my file which as below follows?My query is it right manner to do link many versions in a single file or i will accept only the single version of datatables.
`
<head>
<link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css">
<link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.10.12/css/jquery.dataTables.min.css">
</head>
`
Answers
Hello saho,
the second css loaded will overrule the first one. That's standard browser behavior. So it's of no use to do something like that.
Also linking the same scripts and/or css files with different versions could break up datatables. Use the download page to get the correct versions to use.