Some trouble with jQuery
Posted
by burgua
on Stack Overflow
See other posts from Stack Overflow
or by burgua
Published on 2010-03-20T17:03:55Z
Indexed on
2010/03/20
17:11 UTC
Read the original article
Hit count: 292
jQuery
Is this html
<div class='title centered' id='t_sce'>SCE</div>
<div class='description' id='d_sce'>
Magna tristique pulvinar porta montes, scelerisque
odio montes porta habitasse, ut, arcu scelerisque vel, pellentesque
</div>
I need to fade childer div (description) after clicking on parent (title).
$('.title').click(function() {
$(this).find('.description').fadeOut(fadeTime);
})
What is wrong?
© Stack Overflow or respective owner