[jQuery] Accordion madness and two divs inside

[jQuery] Accordion madness and two divs inside


This is about accordion, but i want to do something, which hasn't been
showed here: http://www.learningjquery.com/2007/03/accordion-madness

Ok: I've got something


<pre><code>&lt;div class="demo-show2"&gt;
&lt;h3&gt;Title 1&lt;/h3&gt;
&lt;div&gt;Lorem...&lt;/div&gt;
&lt;div&gt;Lorem...&lt;/div&gt;
&lt;h3&gt;Title 2&lt;/h3&gt;
&lt;div&gt;Ipsum...&lt;/div&gt;
&lt;div&gt;Ipsum...&lt;/div&gt;
&lt;h3&gt;Title 3&lt;/h3&gt;
&lt;div&gt;Dolor...&lt;/div&gt;
&lt;div&gt;Dolor...&lt;/div&gt;
&lt;/div&gt;</code></pre>

I want i to toggle but I can't do it with the second div. Anyone
got an idea how to toggle all divs and not only one?