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 <morni...@gmail.com> wrote: > 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 <anjanesh.for...@gmail.com> wrote: > > > Hi > > How do get to select the FIRST sibling ? > > > The problem with this is that it fades out all the siblings. > > > <dt> > > <div> > > <a href="#" onclick="$(this).parent().parent().siblings().fadeTo > > (1500, 0.3);">Click here</a> > > </div> > > </dt> > > <dd> > > </dd> > > > Thanks