jQuery ":contains" alternative for a links
<p>There is a selector in jQuery - :contains</p>

<p>Example:</p>

<pre><code>str = 'test';
blocked_div = $(".mydiv:contains("+str+")");
blocked_div.find('img').hide();
...
&lt;a href="http://example.com"&gt;test&lt;/a&gt;
...
</code></pre>

<p>As I understand it's search for a "test" text inside a ".mydiv" element.
But now i need to find a link "http://example.com" inside a ".mydiv" element, and :contains dont work in this situation. Can you recommend a solution to do this ?</p>
