В следующем коде как выбрать все элементы <tr>
, которые имеют <td>
с изображением, оканчивающимся на cancelled.png
? Я в растерянности ...
<table>
<tr> <----- select this whole tr
<td>
<img src="/images/icons/invoice-cancelled.png" alt="cancelled" />
<a href='/orders/invoice.aspx?invoiceid=63'>X1087</a>
</td>
... other tds, some with "-cancelled.png" others with something different
</tr>
....
</table>