Changing name of table brokes Datatable
Changing name of table brokes Datatable
sasuandrei
Posts: 5Questions: 1Answers: 0
Hello,
Can someone help me with the following problem:
I have a template where Datatable is used. When the name of table (id of table) is basic-1 it's working fine. But when I try to change the table name/id it doesn't work anymore. Can't figure why.
Thank you
Replies
ITs not a Datatables issue. See this jQuery forum thread. Stack Overflow has many threads, like this, discussing using slashes in the ID. I would say that it is a bad idea to use slashes but if you need to then you need to escape them with backslashes for the jQuery selectors.
Kevin