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




Reply With Quote