I need to get a tr element that contains a td element that contains specific text. td will contain this text and only that text (so I need the logic text = 'foo' not text contains 'foo' ).
So, I need the equivalent of the following "pseudo jQuery":
var tableRow = $(table td[text = 'foo']).parent('tr');
Can someone specify the correct syntax?
jquery dom
David May 26 '11 at 8:26 2011-05-26 08:26
source share