我需要将属性 ID设置为跟随突出显示的 img 标签或找到突出显示的 img 标签并添加 onclick 事件。我怎么能用 jQuery 做到这一点?
<img src="/site/control/uploader/phpuploader/resources/stop.png" ...
<tbody>
<tr class="AjaxUploaderQueueTableRow" style="background-color: rgb(255, 255, 255);">
<td style="white-space: nowrap;">
<img src="/site/control/uploader/phpuploader/resources/circle.png" title="" width="16" height="16">
</td>
<td style="width: 456px;">Tales from the Dark 1 (2013).jpg</td>
<td style="white-space: nowrap;">
<img src="/site/control/uploader/phpuploader/resources/stop.png" title="Remove" width="16" height="16" style="cursor: pointer;">
</td>
</tr>
</tbody>