title: Jquery Select UL with no LI
body: <p>I can select all <code>ul</code> elements that contain an <code>li</code> using:</p>
  
  <pre><code>$('li:has(&gt; ul)')
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/1466039/jquery-determine-if-a-li-contains-a-ul">jQuery: determine if a &lt;li&gt; contains a &lt;ul&gt;</a></p>
  
  <p>Now, how can I select all <code>ul</code> that <strong>do not</strong> contain an <code>li</code>?</p>
  
  <p>Cheers!</p>