Uncaught SyntaxError: Unexpected string

Uncaught SyntaxError: Unexpected string

davegudavegu Posts: 10Questions: 3Answers: 0

Hi All
Sorry, but I am very new to this and having great difficulty getting my head round it all.
I am trying to initialise a table and am getting Uncaught SyntaxError: Unexpected string after the line that starts "order:
it is probably some newbie silly mistake and for that I appologise, anyway, here is my code:

$(document).ready(function() {
$('#example').DataTable( {
dom: 'T<"clear">lfrtip',
tableTools: {
"sSwfPath": "/DataTables/media/swf/copy_csv_xls_pdf.swf"
"order": [[7, "desc" ]]
"aButtons": [
"copy",
"print",
{
"sExtends": "collection",
"sButtonText": "Save",
"aButtons": [ "csv", "xls", "pdf" ]
}
]
}
} );

} );

Thanks in advance, and please be gentle with me
Regards
Dave

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.