Hmmm that's all well and good but can someone please post a patch so that $/jQuery will work with a jQuery object as the context? That's how it's worked in the past and that's how the API reference says it works...
Karl Rudd On 1/15/07, limodou <[EMAIL PROTECTED]> wrote: > Yeah, I also encountered this problem, so I had to use obj.find('aa') > to replace $('aa', obj) > > -- > I like python! > UliPad <<The Python Editor>>: http://wiki.woodpecker.org.cn/moin/UliPad > My Blog: http://www.donews.net/limodou > > On 1/15/07, Karl Rudd <[EMAIL PROTECTED]> wrote: > > 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/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/