Also note, that if you have two dl elements in the div then you will
receive two results in the array (one for each dl dd:first-child),
also any nested dl will show too.


On Jan 29, 5:01 am, kangax <> wrote:
> On Jan 28, 2:09 pm, Anjanesh <> wrote:
> > Im trying to get the first dd in dl but couldnt find a way to do so.
> > $$('#someDIVId dl dd:first') n FireBug returns [dd, dd]
> > Why does it return [dd, dd] - shouldnt it return just dd ?
> $$('#someDIVId dl dd:first-child');
> Note that it will return an array, not a single element.
> --
> kangax
You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to