Hi Guys, I have an HTML table. I need a jQuery selector to select only the TR's, where column2 (TD) text is equal to = "foo". Is this possible?
<table>
<tr><td>asdasd</td><td>foo</td><td>fsdf</td></tr>
<tr><td>asdasd</td><td>xxx</td><td>fsdf</td></tr>
<tr><td>asdasd</td><td>xxx</td><td>fsdf</td></tr>
<tr><td>asdasd</td><td>foo</td><td>fsdf</td></tr>
<tr><td>asdasd</td><td>foo</td><td>fsdf</td></tr>
</table>
so the selector should return rows 1,4, and 5. Can anyone point me in the right direction?
Thanks a bunch, ~ck in San Diego