Simple Expand/Collapse divs > JQuery?
Posted
by Scott B
on Stack Overflow
See other posts from Stack Overflow
or by Scott B
Published on 2010-03-13T19:57:46Z
Indexed on
2010/03/13
20:05 UTC
Read the original article
Hit count: 385
jQuery
I need to add some accordian style expand/collapse handles to a series of parent container divs in my application. Is this something that's too simple for a library like jquery?
Example:
<div class="handleDiv"> expand | collapse
<div>child element</div>
<div>child element</div>
</div>
<div class="handleDiv"> expand | collapse
<div>child element</div>
<div>child element</div>
</div>
© Stack Overflow or respective owner