title: Find an element with a certain class and add a class to the parent div
body: <p>I am customizing a CMS. I have the ability to add CSS and JavaScript. I wish to add a CSS class specification to a specific entry displayed in a list. In the example below where there is a class of <code>ifrep</code>. I would like to add the class of <code>ifreprow</code> to the div (above/outside/parent?). The div id is not predictable so I can't address that div with <code>id="com_locator_entry_36"</code>. I hope this makes sense. I know the ready and <code>addclass</code> aspects of the JavaScript/jQuery but have no idea how to find that class and add another class to that particular div.</p>
  
  <pre><code>&lt;div id="mm_results_wrapper" class="com_locator_results_wrapper collapse_list_show combined" style=""&gt;
      &lt;div class="com_locator_entry row0 mm_" rel="of_0" id="com_locator_entry_36"&gt;
          &lt;div class="com_locator_address"&gt;
              &lt;span class="line_item ifrep"&gt;Sales Contact&lt;/span&gt;
              &lt;br&gt;
              &lt;strong&gt;
                  &lt;h2 class="com_locator_title" itemprop="name"&gt;
                      Billy Schwartz
                      &lt;a class="collapse_list_reveal" href="javascript:void(0);" onclick="load_detail_page(36);"&gt;Billy Schwartz&lt;/a&gt;      
                  &lt;/h2&gt;
              &lt;/strong&gt; 
              &lt;br&gt;
              &lt;span itemprop="telephone" class="line_item phone"&gt;303-303-0303&lt;/span&gt;
              &lt;br&gt;
              &lt;span class="line_item email"&gt;
                  &lt;a data-conversion="Email-Mailto" href="mailto:billys@somewhere.com" target="_blank"&gt;Email&lt;/a&gt;
              &lt;/span&gt;
              &lt;br&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>