I stumbled upon this jQuery speed test <http://john.jquery.com/speed/> from
someone else's web site. It's testing against v1.0.4 and v1.1.2 (I think)...
I understand wanting to write a backwards compatible plug-in, but in an
ideal world folks should try to use the more recent version (for speed and
whatever bug fixes are included).
<http://john.jquery.com/speed/>
Brian.
On 4/13/07, John Resig <[EMAIL PROTECTED]> wrote:
Probably the easiest way to duplicate what you're trying to do, in
both versions of jQuery, is to wrap the jQuery object in another:
y = $(year).find('option:eq(1)').val();
that should protect it.
--John
On 4/13/07, m3avrck <[EMAIL PROTECTED]> wrote:
>
> Ah yes, I'm trying to make this work in 1.0 and 1.1 ;-)
>
> ted
>
> On Apr 13, 11:39 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> > On Apr 13, 2007, at 9:44 AM, m3avrck wrote:
> >
> > > Ahhh, ok I didn't realize .find() is destructive now :-)
> >
> > Sorry I'm not answering the question, but I wanted to clarify
> > that .find() isn't destructive now. It was only destructive pre-1.1.
> >
> > Cheers,
> > --Karl
> > _________________
> > Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
>