a") only the anchors that are direct
> > descendant of "li" elements will be chosen
> > in the first statement (".nav li a" ) every anchor will be picked, direct or
> > indirect descendant
>
> > - Original Message -
> > From: &
hors that are direct
> descendant of "li" elements will be chosen
> in the first statement (".nav li a" ) every anchor will be picked, direct or
> indirect descendant
>
> - Original Message -----
> From: "brian"
> To:
> Sent: Tuesday, Jun
direct or
indirect descendant
- Original Message -
From: "brian"
To:
Sent: Tuesday, June 30, 2009 11:45 AM
Subject: [jQuery] Re: ul.nav a VS. .nav li > a
I can't speak for Sizzle but, if you'll only ever have one "nav"
element on a page, you
I can't speak for Sizzle but, if you'll only ever have one "nav"
element on a page, you're better off using an ID than a class.
On Tue, Jun 30, 2009 at 8:03 AM, north wrote:
>
> Hi,
>
> yesterday I read an article about jQuery performance. In one part the
> author talks about selectors and uses
>
4 matches
Mail list logo