I am looking to add a new class to a DIV that already has 2 Classes
<p>Hello I have a Div with two classes</p>

<pre><code>&lt;div class="box_box my_pages"&gt;some text&lt;/div&gt;
</code></pre>

<p>I need to add another class to this div say - myaccordion</p>

<p>The result should be some thing like this :</p>

<pre><code>&lt;div class="box_box my_pages myaccordion"&gt;some text&lt;/div&gt;
</code></pre>

<p>How do I do that ? I want to add class only when both the classes box_box my_pages exist for a DIV not just a div with the class "box_box" or "my_pages"</p>

<p>Thanks.</p>
