General setup
General setup
Hi
I´m going to use datatables together with php and a mysql database. I had some problem with the datatable initialisation. So I went back to basic and tried with the static table sample from datatables.net/usage.
This is my sample code and the DataTables-1.7.4 folder is in the same folder as this test.html.
Could someone give me a push in the right direction and tell me why this does not work?
[code]
$(document).ready(function() {
$('#example').dataTable();
} );
Column 1
Column 2
etc
Row 1 Data 1
Row 1 Data 2
etc
Row 2 Data 1
Row 2 Data 2
etc
[/code]
I´m going to use datatables together with php and a mysql database. I had some problem with the datatable initialisation. So I went back to basic and tried with the static table sample from datatables.net/usage.
This is my sample code and the DataTables-1.7.4 folder is in the same folder as this test.html.
Could someone give me a push in the right direction and tell me why this does not work?
[code]
$(document).ready(function() {
$('#example').dataTable();
} );
Column 1
Column 2
etc
Row 1 Data 1
Row 1 Data 2
etc
Row 2 Data 1
Row 2 Data 2
etc
[/code]
This discussion has been closed.
Replies
Allan