I'm pretty sure this can be done without going into a function but I want to grab any TR where there is a <td>Mail ...</td> or <td>Foo ... </td> as examples.

I keep thinking it should look like

$('tr[./text()^="foo"]') but chrome doesn't like it. or $('tr[./td/text()^="Mail"]') but no luck can this be done with a simple selector?

Edit
Report