title: jquery - select an element if children not having a specific class
body: <p>I am looking for a selector only solution, not something using <code>.find()</code> or other jquery functions.</p>
  
  <p>I wander why if I do <code>$('.parentClass:has(".childrenClass")')</code>, it returns elements if one of their children has <code>.childrenClass</code></p>
  
  <p>but if I do <code>$('.parentClass:not(".childrenClass")')</code> it returns all elements even if one of their children has <code>.childrenClass</code></p>
  
  <p>Is there a way to select element only if all of their children have not a specific class?</p>