Hi. I have the following that adds a class to all <td> elements, however I have a particular <td colspan="3"> and I want to exclude it. How do I do this in jquery? Thanks for any help.
$('td', table).addClass('ui-widget-content'); // exclude a <td colspan="3">
Use the
.not()to exclude particular elements.