user472285 user472285 - 5 months ago 19
Javascript Question

jQuery remove a td that contains img src blank

<img width="8" height="1" src="/_layouts/images/blank.gif" alt="">

how can i remove a td that contains
<img src="/_layouts/images/blank.gif"



Match a <img /> which is a child of a td using a combination of the child selector and the attribute equals selector:

$('td > img[src="/_layouts/images/blank.gif"]')

and then select it's parent using parent(), and remove it using remove();