jQuery find not working
Posted
by fire
on Stack Overflow
See other posts from Stack Overflow
or by fire
Published on 2010-05-07T10:41:22Z
Indexed on
2010/05/07
10:48 UTC
Read the original article
Hit count: 139
jQuery
|JavaScript
This is my HTML:
<p class="first">blah blah <a href="" class="more">read more</a></p>
<div class="read_more">
<p>more text</p>
</div>
And javascript:
$(document).ready(function(){
$('a.more').click(function(){
$(this).find('.read_more').slideDown();
return false;
});
});
Doesn't seem to do anything (read_more is set to display: none) any ideas?
© Stack Overflow or respective owner