SyntaxFix
Write A Post
Hire A Developer
Questions
To select the first and the second cell in each row, you could do this:
$(".location table tbody tr").each(function() { $(this).children('td').slice(0, 2).addClass("black"); });