KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to get a tr element which contains a td element which contains specific text. The td will contain that text and only that text (so I need text = 'foo' not text contains 'foo' logic). So I need the equivalent of the following 'pseudo jQuery': var tableRow = $(table td[text = 'foo']).parent('tr'); Can anyone provide the correct syntax?
Tags (comma-separated)
Save Edits
Cancel