That's perfect. Thanks!

I read the docs from that URL but I could only find the snippet that was
formed like $("parent > child"). I must have accidentally skipped over the
forms.

Thanks Richardo



On Wed, Oct 22, 2008 at 4:08 PM, ricardobeat <[EMAIL PROTECTED]> wrote:

>
> Three different ways:
>
> 1. children() lookup
> $(this).children('div')
>
> 2. context lookup
> $('> div',this)
>
> 3. find()
> $(this).find('> div') // is basically the same as nÂș2
>
> Are you reading the docs at docs.jquery.com? They're very clear and
> have examples for every selector.
>
> cheers,
> - ricardo
>
> On Oct 22, 1:45 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > I'm new to jQuery and I dabbled in it a little last night. I know you
> > can access a child element via $("parent > child") but what if you're
> > currently accessing the parent using the $(this) operator? Would I
> > just use $(this > child) without the quotes? That doesn't stike me as
> > something that would work...
> >
> > Thanks,
> > Adam
>



-- 
Adam

"Do one thing, and do it well."
  -- The UNIX Philosophy

Reply via email to