[jQuery] Re: First Parent Siblings

2009-06-17 Thread Charlie
$(".classa").click(function () {             $(this).parent().next(".classdiv").toggle();                           }); FrenchiINLA wrote: Thank you for the reply. I would like to show hide the div located right after the h3 when a.classa is clicked, and not all other div.classdiv

[jQuery] Re: First Parent Siblings

2009-06-17 Thread Mauricio (Maujor) Samy Silva
Try: $(this).parent().next().toggle(); Maurício -Mensagem Original- De: FrenchiINLA Para: jQuery (English) Enviada em: quarta-feira, 17 de junho de 2009 18:16 Assunto: [jQuery] First Parent Siblings I have several following html code:

[jQuery] Re: First Parent Siblings

2009-06-17 Thread FrenchiINLA
Thank you for the reply. I would like to show hide the div located right after the h3 when a.classa is clicked, and not all other div.classdiv located on other lines. Thanks again On Jun 17, 2:19 pm, waseem sabjee wrote: > do you want to toggle the class on the div or toggle a transition  like >

[jQuery] Re: First Parent Siblings

2009-06-17 Thread waseem sabjee
do you want to toggle the class on the div or toggle a transition like slideToggle or fadeToggle ? On Wed, Jun 17, 2009 at 11:16 PM, FrenchiINLA wrote: > > I have several following html code: >