If you just want to fade the divs out then try this: (assuming you want to keep the different classes you have for each div)
<a class="mylink"></a> <div class"fo div01"></div> <div class"fo div02"></div> <div class"fo div03"></div> $("a.mylink").click(function(){ $('.fo').fadeOut(); return false; }); On Jun 29, 1:20 am, thilothamm <[EMAIL PROTECTED]> wrote: > hi I was trying to adress relatively from this. > > example... > > <a class="mylink"> > <div class"div01"></div> > <div class"div02"></div> > <div class"div03"></div> > </a> > > lets say "div02" is visible the other divs are not > > I TRIED LIKE THIS, BUT IT DOESNT WORK > > $("a.selectlink").click(function(){ > $(this).$("div:visible").fadeOut(); > > }); > > I want to have all the visible divs in $(this) > > I tried $(this).find(":visible") and $(this).children(":visible") but > none worked > > How do I get anything specific relative from this ( not just the > "parent()" or "next") )