I am using jQuery dataTables version 1.9.2
Table is created with class datatable and displayed properly but now I want to use fnPageChange hence I need object of the table.
$(document).ready(function(){
var oTbl = $(".datatable").dataTable();
});
This code gives alert that says -
DataTables warning (table id = 'tblCat'): Cannot reinitialise DataTable.
To retrieve the DataTables object for this table, pass no arguments or
see the docs for bRetrieve and bDestroy.
I read that Version 1.7 fixed this issue regarding popup here.
How can I get the existing object of the table to work with ?