title: Check if the content of a DIV is empty in jQuery
body: <p>How do I use jQuery to check to see if the content of a <code>&lt;div&gt;</code> is empty?</p>
  
  <p>I tried this and is doesn't seem to be printing the correct values.</p>
  
  <pre><code>...
  var unframed_items = $("#unframed-items");
  alert(unframed_items.html().length);
  ...
  &lt;div id="unframed-items"&gt; &lt;/div&gt;
  ...
  </code></pre>