img SRC from first cell in a row with jquery
<p>i have a table such that each row is like this</p>

<pre><code>&lt;tr&gt;
&lt;td&gt;&lt;input/&gt; &lt;img id="foo" src="redMinus.png"/&gt;&lt;/td&gt;
some more tds
&lt;td&gt; &lt;a onclick="wow('foo',$(this))"&gt;&lt;/a&gt;
&lt;/tr&gt;
</code></pre>

<p>I want to find out if the img in the first td has an src that contains "redMinus"
This is what I have but it doesnt seem to be working?</p>

<pre><code>function wow(id, item){
var tr$ = item.parentNode.parentNode;
var details = tr$.find('img[src*="redMinus"]');
}
</code></pre>

<p>Any ideas?</p>

<p>Thanks!</p>
