title: How to change element text if contains multiple specific child
body: <p>I am wanting to manipulate the comment text to show no comment only if it contains the default comment. That default comment is being hidden but adding to a counter. So it's hidden I want the comments to show <code>No Comments</code>, even though the counter may be at 3. Hope this makes sense.</p>
  
  <p>I currently have this jQuery </p>
  
  <pre><code>$("p:contains('Default Comment')").parent().hide(); 
  </code></pre>
  
  <p>Here is my code example of what I have:</p>
  
  <pre><code>&lt;div id="parent"&gt;
     &lt;h4&gt;Comments&lt;/h4&gt;
     &lt;ul&gt;
      &lt;li style="display:none;&gt;Default Comment&lt;/li&gt;
      &lt;li style="display:none;&gt;Default Comment&lt;/li&gt;
      &lt;li style="display:none;&gt;Default Comment&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  &lt;div id="parent"&gt;
    Comments
    &lt;ul&gt;
      &lt;li&gt;Custom Comment&lt;/li&gt;
      &lt;li style="display:none;&gt;Default Comment&lt;/li&gt;
      &lt;li&gt;Custom Comment&lt;/li&gt;
    &lt;/ul&gt;
  </code></pre>
  
  <p></p>
  
  <p>Here is what I want to have happen</p>
  
  <pre><code>&lt;div id="parent"&gt;
   &lt;h4&gt;**No Comments**&lt;/h4&gt;
    &lt;ul&gt;
      &lt;li style="display:none;&gt;Default Comment&lt;/li&gt;
      &lt;li style="display:none;&gt;Default Comment&lt;/li&gt;
      &lt;li style="display:none;&gt;Default Comment&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  &lt;div id="parent"&gt;Comments&lt;/div&gt;
    &lt;ul&gt;
      &lt;li&gt;Custom Comment&lt;/li&gt;
      &lt;li style="display:none;&gt;Default Comment&lt;/li&gt;
      &lt;li&gt;Custom Comment&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Any guidance is greatly appreciated</p>