title: Is there a work around for this jQuery bug?
body: <pre><code>$('&gt; img[src="folderopen.gif"]',$scope)
  </code></pre>
  
  <p>The above will fail,seems a bug of jQuery,is there a work around?</p>
  
  <p>This issue is found here:</p>
  
  <p><a href="https://stackoverflow.com/questions/2062381/how-to-judge-whether-there-is-a-specific-child-haschildtestatttest-wi/2062390#2062390">How to judge whether there is a specific child(.haschild(&#39;#test[att=&quot;test&quot;]&#39;)) with jQuery?</a></p>
  
  <p><strong>EDiT</strong></p>
  
  <p>I've just verified this will also fail:</p>
  
  <pre><code>$scope.children( 'img[src="folderopen.gif"]');
  </code></pre>