I have a table for which I am attempting to select all rows which have a td containing the text \'Test\' and then hide the td with class \'ms-vb-icon\' on all the matched ro
I guess you are missing ')' .It worked for me:
$("tr:has(td:contains('1'))").each(function () {