[newbie] table not working??
[newbie] table not working??
Hey everyone im very new to jquery and datatables.
Here is my class.
this is in the header and both jquery and datatable scripts have been included
[code]
$(document).ready( function() {
$('#table_id').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]
the "media" folder is also included and all links are linking properly.
i have no clue why this isnt working.
any help is appreciated.
thanks
Dorac
Here is my class.
this is in the header and both jquery and datatable scripts have been included
[code]
$(document).ready( function() {
$('#table_id').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]
the "media" folder is also included and all links are linking properly.
i have no clue why this isnt working.
any help is appreciated.
thanks
Dorac
This discussion has been closed.
Replies
Like so:
[code]
$(document).ready( function() {
$('#table_id').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]
[code]
$(document).ready( function() {
$('#table_id').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]
also please note the '.JS.' and '.CSS.' in my include paths are php code that includes just the path to the file.
Still need help :(
Thanks
08.
LOL... jquery.js i spelt j"S"query.js
Sorry guys. This was one really 2 hour waste of time cos of a spelling error.
Thanks for all your help twistah