Add class to container div based on content
<p>I have some html mark up like so:</p>

<pre><code>&lt;div class="container"&gt;
&lt;p class="date"&gt;October 10th 2012&lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>I want to add an additional class of October to my container div based on the month that is contained within the date wrapped in a <p> tag.</p>

<p>Is this possible with jQuery.</p>

<p>I intend to then take all containers with a class of October wrap in a div and then place that div into an accordion based on the months of they year.</p>

<p>Would really appreciate some help with this initial part.</p>
