title: Jquery: if class exists in element hide element
body: <pre><code>if( ('.container').closest('.item7') = true){
  
       hide THE container of item7.
  
       //----
       //need help with this line
       //something like $closest('.item7').('.container').hide();
       //----
  
  }
  </code></pre>
  
  <p>Summary:</p>
  
  <p>if item7 class exists in container hide THE container.</p>