$('.bioclick').click(function() {
  $('.bio_desc', this).toggle('slow');
});

or

$('.bioclick').click(function() {
  $(this).find('.bio_desc').toggle('slow');
});

- Richard

On Thu, Aug 13, 2009 at 2:55 PM, Jean-Claude Tounkara <
jeanclaudetounk...@gmail.com> wrote:

>
> I am new to Jquery and I need to use the this keyword to differentiate
> which div class name needs to show.
>
> Currently, my code below on '.bioclick' click event, every bio_desc is
> displayed or showed. I just want to show the current clicked
> '.bioclick' child '.bio_desc'. I tried using the this keyword but it
> did not work. Please help with my code below.
>
>
> $('.bio_desc').hide();
>
>
>
>            $('.bioclick').click(function() {
>
>            $('.speaker_wrapper').children('.bio_desc').toggle
> ('slow');
>
>            });
>
>        });
>

Reply via email to