help with Initialisation code

help with Initialisation code

redojzredojz Posts: 5Questions: 0Answers: 0
edited April 2013 in DataTables 1.9
Hi All,
I am new to using DataTables and JQuery. I was going through the set up steps as a test and the instructions say to add the following code, but I am not sure where I am suppose to insert this code. Does the code go in a new file? Or is it inserted in an existing file, like jquery.js or jquery.dataTables.js or in the html file? Thank you for your patience and input.

$(document).ready(function() {
$('#example').dataTable(); } );

Replies

  • essexstephessexsteph Posts: 57Questions: 0Answers: 0
    Have a look at this, it's a complete working example:

    http://live.datatables.net/#source
  • redojzredojz Posts: 5Questions: 0Answers: 0
    Oh I see. I understand it now. Thank you!!
This discussion has been closed.