Im trying to write some jQuery that will hide a tr if two of the td’s contain an element with a certain class. Here is the markup.
<tr>
<td>Name<i class="icon-warning-sign"></i></a></td>
<td class="centered_text"><i class="icon-minus"></i></td>
<td class="centered_text"><i class="icon-minus"></i></td>
</tr>
So if the last two td’s contain i.icon-minus hide the tr. Which I would do by adding a class to the tr and hidding it. Can anyone help me through this?
I would write a simple filter like below,
or Simply