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

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

stefanvhstefanvh Posts: 7Questions: 3Answers: 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

Sign In or Register to comment.