[jQuery] Re: Select first sibling

2009-01-06 Thread Anjanesh
Thanks. But this always selected the first sibling from the children. Wanted the dd corresponding to the dt faded, I was actually looking for the next sibling. $(this).parent().parent ().next() worked ! On Jan 5, 7:13 pm, MorningZ wrote: > Try > > $(this).parent().parent().siblings().filter(":fi

[jQuery] Re: Select first sibling

2009-01-05 Thread MorningZ
Try $(this).parent().parent().siblings().filter(":first").fadeTo (1500, 0.3); easily found using the docs: http://docs.jquery.com/Selectors On Jan 5, 9:09 am, Anjanesh wrote: > Hi > How do get to select the FIRST sibling ? > > The problem with this is that it fades out all the siblings. >