SyntaxFix
Write A Post
Hire A Developer
Questions
$(function(){ var search = 'foo'; $("table tr td").filter(function() { return $(this).text() == search; }).parent('tr').css('color','red'); });
Will turn the text red for rows which have a cell whose text is 'foo'.