Matthews wrote:
> >
> > Use the descendant selector.
> >
> > Div ul li
> > Vs
> > Div ul > li
> >
> > The > says only the first instance of that object.
> >
> > -----Original Message-
> > From: [EMAIL PROTECTED]
> > [
Dan Eastwell schrieb:
> For the record: Do the internet explorers support the child selector
> (when it's used in CSS and not in jQuery, of course!)
Everything below IE 7 doesn't support the child selector.
-- Klaus
___
jQuery mailing list
discuss@jqu
11:10 AM, Andy Matthews wrote:
>
> Use the descendant selector.
>
> Div ul li
> Vs
> Div ul > li
>
> The > says only the first instance of that object.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dan
rst instance of that object.
-Original Message-
From: [EMAIL PROTECTED] [mailto:discuss-
[EMAIL PROTECTED] On
Behalf Of Dan Eastwell
Sent: Wednesday, March 14, 2007 10:01 AM
To: jQuery Discussion.
Subject: [jQuery] Selecting only one level in DOM and no deeper
I have a function
function
Andy Matthews schrieb:
> Use the descendant selector.
>
> Div ul li
> Vs
> Div ul > li
>
> The > says only the first instance of that object.
It's not the descendant selector, it is the child selector.
Also, that last sentence may be a bit misleading in a way that it is
just the first element
jQuery] Selecting only one level in DOM and no deeper
I have a function
function closeSubModules(subModules){
for(var i=0; i < subModules.length; i++){
theElement = subModules[i];
$(theElement).hide();
}
}
one of the subModules[i] I'
I have a function
function closeSubModules(subModules){
for(var i=0; i < subModules.length; i++){
theElement = subModules[i];
$(theElement).hide();
}
}
one of the subModules[i] I've passed this function in an array is
"#faq li ul" and hi