[jQuery] The $( exp, jQuery ) syntax is not working in 1.1
Love the new site. Don't mind the cleaned up API but I've got quite a
lot of code that uses the $( expr, jQuery ) syntax and now it's not
working.
I haven't had time to wade through the code but check the following
(with Firebug):
<span>Outside</span>
<div>
<span>Inside</span>
</div>
console.log(
$('span', $('div') ),
$('span', $('div')[0] )
);
In jQuery 1.0.x they both (correctly) return "[span]", under 1.1 the
first returns "[span, span]" while the second returns "[span]".
I believe this indicates that $() is not detecting the jQuery object
as a context.
Karl Rudd
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/