title: Check if div has less than two children
body: <p>I've just started using jQuery, and can't get my head around this.</p>
  
  <p>I need to check if a div contains anything <em>but</em> a h3 header tag. </p>
  
  <p>The structure of the html is as follows:</p>
  
  <pre><code>&lt;div id="myContainer"&gt;
  &lt;h3&gt;A header that is always present&lt;/h3&gt;
  any html, plain text or empty
  &lt;/div&gt;
  </code></pre>
  
  <p>Here's the jQuery:</p>
  
  <pre><code>if ( $("#myContainer h3:only-child") ) {
    $("#myContainer").css("display", "none");
  }
  </code></pre>
  
  <p>The above will simply hide the div if there is no other html elements present, which is not what I intend since it will also contain plain text. I have tried with other selectors and functions, but I just can't seem to get it right.</p>
  
  <p>Thanks in advance :)</p>