Multiple Datatable issue on same page
Multiple Datatable issue on same page
ravishah
Posts: 4Questions: 2Answers: 0
HI ,
I have implemented two datatables on same page with different id's assigned to table. Here is my code for initializing datatable.
var dataTable;
var dataTableB;
$(document).ready(function() {
dataTable = $('#sectionATable').DataTable();
dataTableB = $('#sectionBTable').DataTable();
});
But it is throwing error:- TypeError i is undefined from jquery.datatables.min.js
Can someone tell what wrong I am doing ?
This discussion has been closed.