How do I hide an element in jQuery based on it's child's contents?


I have the following code that repeats on my site:
<tr class="alt">

Open in new window

This is autogenerated and is a row in a long table so I can't specify any id or class values to the <tr> or the <th>.
But the string <th>Aggregato</th> repeats in every instance.

I'd like to eliminate the entire <TR> whose first child <TH> contains the string "Aggregato"
How do I do this?

thanks in advance
Who is Participating?
badwolfffAuthor Commented:
I managed myself.


Open in new window

badwolfffAuthor Commented:
I managed by myself
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.