$(td).attr('data-order', 123) works but $(td).data('order', 123) does not.
Any idea why? Isn't the jQuery objects equal?
This question has an accepted answers - jump to answer
This thread should help:
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.