Some trouble with jQuery
- by burgua
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?