How to get id of "tr" when "<a><img> element clicked

How to get id of "tr" when "<a><img> element clicked

Hello,

I have a <tr> that contains an id. Im clicking on an <a><img> on that <tr> line.

How can I get the id of the "tr" when clicking the <a><img>?

Thank You