Multimple tables with same #ID
Multimple tables with same #ID
Hi Guys,
suppose that I have the following DOM:
[code]
...
...
[/code]
when creating the datatable for the table under div #id 1000, it works fine
but when I try to create the datatable for table under div #id1001 I get an error saying it cannot restart the table.
on my script I do this to create the datatable
$('#1000').find('#datatable').dataTable();
Any ideas?
Regards,
Martin
suppose that I have the following DOM:
[code]
...
...
[/code]
when creating the datatable for the table under div #id 1000, it works fine
but when I try to create the datatable for table under div #id1001 I get an error saying it cannot restart the table.
on my script I do this to create the datatable
$('#1000').find('#datatable').dataTable();
Any ideas?
Regards,
Martin
This discussion has been closed.