jQuery选择问题

jQuery选择问题,jquery,css-selectors,Jquery,Css Selectors,在下面的代码中,如何选择具有以cancelled.png结尾的图像的元素?我不知所措 <table> <tr> <----- select this whole tr <td> <img src="/images/icons/invoice-cancelled.png" alt="cancelled" /> <a href='/orders/invoice.aspx

在下面的代码中,如何选择具有以
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>

说明:

(tr) Select All Table Rows
(:has()) That Have:
(td) a table data
(img) with an image in it
([src$="cancelled.png"]) that has an ttribute of 'src' that ends($=) in 
                         'cancelled.png'
说明:

(tr) Select All Table Rows
(:has()) That Have:
(td) a table data
(img) with an image in it
([src$="cancelled.png"]) that has an ttribute of 'src' that ends($=) in 
                         'cancelled.png'