Adding a class to top level element if a string is nested deep within
<p>I have divs inside divs. About 3 or 4 levels deep I have a div that contains a P tag which contains a span tag. I need to add an additional class to a div higher up with an already existing class and based upon wether or not my nested span contains a specific string.</p>

<p>Here is my html code: <a href="http://pastebin.com/LrJNfntH" rel="nofollow">pastebin.com link</a></p>

<p>I need to check my nested span element to see if it contains the string 'october' and if so add an additional class of "October" to the top div that already has a class of 'event-data'.</p>
