If the table name is example:test datatables does not work
If the table name is example:test datatables does not work
kulkarni_ash
Posts: 35Questions: 8Answers: 0
I am trying to add datatables to one JSF project, and there is a table with table name as form:tableName, which is how JSF creates id
If the table name has colon : in it, looks like datatables does not work
actually the error is in Jquery function Sizzle.filter
any ideas how to get around this issue
If the table name has colon : in it, looks like datatables does not work
actually the error is in Jquery function Sizzle.filter
any ideas how to get around this issue
This discussion has been closed.
Replies
$('#example\\:test').dataTable();
http://stackoverflow.com/questions/122238/handling-a-colon-in-an-element-id-in-a-css-selector#656463
It looks like a double backslash is needed:
http://live.datatables.net/aniqan/edit
Allan
Thanks, can you please check my other post, and see why it is not working
http://datatables.net/forums/discussion/8461/using-datatables-on-table-created-using-java-script-not-working-does-not-show-paging#Item_1