Class selector doesn't work as expected when specifying top
|Reported by:||fforw||Owned by:|
var $tst = $("#tst"); $(".foo span", $tst)
does not find the span on this HTML
<div id="tst" class="foo"> <span>xxx</span> </div>
I can understand and would expect that code not to regard a ".foo" outside of $tst. But shouldn't it regard the .foo on $tst ?