He means:
$('#context .target')[0];
And can also be done as:
$('#context .target').get(0);
Cheers
--
Ariel Flesler
http://flesler.blogspot.com/
On 1 abr, 20:01, "Smith, Allex" <[EMAIL PROTECTED]> wrote:
> What about
>
> $('#context .target')
>
> Or
>
> $('#context div')
>
> Allex
>
>
>
> ---
Doh... That's what I get for not fully reading the question.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Shawn
Sent: Tuesday, April 01, 2008 4:11 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Standard DOM returned from j
Those are alternate methods to get a jQuery reference to the same
element. But it's still not a DOM reference. For that you'd need the
[0] that Karl indicated. The .get(0) method might be suitable here as
well, but I'm not clear right now if that returns a DOM object or a
jQuery object - I
What about
$('#context .target')
Or
$('#context div')
Allex
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jesse
Sent: Tuesday, April 01, 2008 12:37 PM
To: jQuery (English)
Subject: [jQuery] Standard DOM returned from jQuery selector
I ha
4 matches
Mail list logo