title: Find parent div in specific class name
body: <p>I have many different div name and each div have same div with the same class name.
  Example :</p>
  
  <pre><code>&lt;div class="block1-1"&gt;
      &lt;div class="block1-11" style="position:relative;overflow:hidden;background:url(images/thumb2.jpg) no-repeat;background-size:cover;"&gt;
          &lt;div class="caption"&gt;
              &lt;div class="caption-text"&gt;  &lt;a href="#"&gt;COAL MINING&lt;/a&gt;
  
                  &lt;p&gt;PT. Jawon Abadi has several mining development projects in East Kalimantan, South Kalimantan and South Sumatra.&lt;/p&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;!--&lt;a href="#"&gt;&lt;img src="" class="img"/&gt;&lt;/a&gt;--&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="block1-11"&gt;
      &lt;div class="block1-11" style="position:relative;overflow:hidden;background:url(images/thumb2.jpg) no-repeat;background-size:cover;"&gt;
          &lt;div class="caption"&gt;
              &lt;div class="caption-text"&gt;  &lt;a href="#"&gt;COAL JETTY&lt;/a&gt;
  
                  &lt;p&gt;Lorem ipsum&lt;/p&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;!--&lt;a href="#"&gt;&lt;img src="" class="img"/&gt;&lt;/a&gt;--&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>etc.</p>
  
  <p>I want to get <code>.block1-1</code> or <code>.block1-11</code> according to <code>.caption</code> class name.
  Because i have many div, and i want to minimiza jquery code.</p>
  
  <p>Please help, thank you.</p>