title: jQuery Selector not working right
body: <p>Okay, I cannot figure out what I'm doing wrong here... </p>
  
  <p>Take the following jQuery selector... </p>
  
  <pre><code>$('tr[batchid]:has(span.chkselb input:checked) span[id=assetcount]')
  </code></pre>
  
  <p>This returns 2 elements. Yet if I do the following selector: </p>
  
  <pre><code>$('tr[batchid]:has(span.chkselb input:checked) span#assetcount')
  </code></pre>
  
  <p>This returns 0 elements. Aren't these two selectors for all intents and purposes identical?<br>
  Or is there some strange interaction with the ":has" operator or something? I got it working with the first statement, but I'm really curious why the second one (my original selector) doesn't work. Any insights?</p>