Why doesn't $(td).data() work in "createdCell"?

Why doesn't $(td).data() work in "createdCell"?

stefanvhstefanvh Posts: 11Questions: 4Answers: 0

$(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

Answers

This discussion has been closed.