cant make it work

cant make it work

bbhrucy79bbhrucy79 Posts: 1Questions: 1Answers: 0

hello there,

On your installation page you suggest using this code:


<link rel="stylesheet" type="text/css" href="/DataTables-1.10.0/css/jquery.dataTables.css">



Now my question is, where to put that code? In the <head> or in <body> where exactly?

Next observation: I checked the path to those includes and they appear to be wrong, its not


<link rel="stylesheet" type="text/css" href="/DataTables-1.10.0/css/jquery.dataTables.css">

but


<link rel="stylesheet" type="text/css" href="/DataTables-1.10.0/media/css/jquery.dataTables.css">

and with the rest 2 includes as well, the /media/ dir is where these inludes are, at least when I extarct the zip. ?

Third question: the js code:

$(document).ready( function () {
$('#table_id').DataTable();
} );

again, where do I put this code. Plus, do I have to put opening and closing tag of any sort or this is actually the code? Assuming not.

As you can see I am a beginner in coding, sorry 4 basic questions.

thanks :-)

Answers

This discussion has been closed.