title: jQuery select divs that dont have a class containing a particular word
body: <p>I have a series of divs, some of them have the class 'layers-widget-...', others just have different classes.</p>
  
  <p>I want to select all the ones that don't have the class 'layers-widget...' and add the class "hidden" to them.</p>
  
  <p>I have been able to select all the ones that have the class using the following script:</p>
  
  <pre><code>$('#available-widgets-list div[class*="layers-widget"]').addClass('hidden');
  </code></pre>
  
  <p>How would I essentially do the opposite though to select ones that don't have the class.</p>