Hi All,

on an Ajax call I have an object returned that holds an HTML Table:

Code:
....success: function (data) {
                $('#' + section).html(data);
.....

This all works fine as it stands and the data renders correctly on the screen.

However, I want to decorate the <td> elements in data with a class. I thought that doing:

Code:
success: function (data) {
                var ww = $('td', data).addClass("t-hierarchy-cell");
                $('#' + section).html(ww);
would do the trick, however none of my <td> elements have the class attribute set.