Sample Code

Sample Code

the_stigthe_stig Posts: 3Questions: 0Answers: 0
edited February 2010 in Bug reports
From the website's main page there's the little section on the right that says, "So how easy it is to use DataTables? Take a peak at the code below, a single function call to initialise the table is all it takes:".

The user can then block-copy the following coding:
[code]
/*
* Example init
*/
$(document).ready(function(){
$('#example').dataTable();
}
[/code]
Shouldn't that have a ); on the end?

Thanks. Great stuff.

Replies

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin
    Haha! DOH! Thanks very much for picking that up and letting me know. It's now fixed :-)

    Regards,
    Allan
This discussion has been closed.