Okay, I cannot figure out what I'm doing wrong here...
Take the following jQuery selector...
$('tr[batchid]:has(span.chkselb input:checked) span[id=assetcount]')
This returns 2 elements. Yet if I do the following selector:
$('tr[batchid]:has(span.chkselb input:checked) span#assetcount')
This returns 0 elements. Aren't these two selectors for all intents and purposes identical?
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?