title: jQuery Remove Div Based On Content
body: <p>i would like to remove/hide a li based on the content inside it, is this easy to do?</p>
  
  <p>eg. the code below: if span#type has no content then li.grouping should be removed or hidden.</p>
  
  <pre><code>&lt;li class="grouping"&gt;&lt;span class="desc"&gt;Options:&lt;/span&gt;&lt;br /&gt;&lt;span id="type"&gt;&lt;/span&gt;&lt;/li&gt;
  </code></pre>