title: Jquery finding a specific H4 with no id nor name nor class
body: <p>i have a simple question about JQuery...</p>
  
  <p>I have a main <code>&lt;div&gt;</code> containing some divs, which have dynamical ids. each child div has a <code>&lt;h4&gt;</code> tag in it. These <code>h4</code> does not have any id, nor class, nor name. They just have some text in it.</p>
  
  <p>Here is what i'm talking about :</p>
  
  <pre><code>&lt;div id="main_div"&gt;
     &lt;div id ="div01"&gt;
        &lt;h4&gt;Sometext01&lt;/h4&gt;
     &lt;/div&gt;
     &lt;div id ="div02"&gt;
        &lt;h4&gt;Sometext02&lt;/h4&gt;
     &lt;/div&gt;
     &lt;div id ="div03"&gt;
        &lt;h4&gt;Special Text!!!&lt;/h4&gt;
     &lt;/div&gt;
     &lt;div id ="div04"&gt;
        &lt;h4&gt;Sometext04&lt;/h4&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I would like to get the parent div's id of the h4 which text is "Special text!!!" (so, here, in this example, it is div03).</p>
  
  <p>But, unfortunately, these ids are auto generated (by Sugarcrm, for those who know), and i can't know by advance the id's name. So that is why i have to pass by the h4.</p>
  
  <p>I know i can use the jQuery function below to pass through all h4</p>
  
  <pre><code>allMyH4.each()
  </code></pre>
  
  <p>And i know i can use the jQuery function below to find the parent of my desired h4</p>
  
  <pre><code>myFoundH4.parent()
  </code></pre>
  
  <p>But i'm getting some trouble on searching the h4 by their text() (or html() )</p>
  
  <p>Could you please help me on that?</p>
  
  <p>Thanks a lot</p>
  
  <p><strong>EDIT few hours later :</strong></p>
  
  <p>Thanks to @Bhushan , i could do what i really wanted. It just has a restriction : my user MUST not change h4 texts NOR giving several h4 the same name containing my string.
  For another solution, try @rory too, it did not work for me, but it had been tested by others, and it seems to be better than contains.</p>