title: How to create event, that triggered when user click on element (exception is 2 child element)
body: <p>How to create event, that triggered when user click on element (exception is 2 child element). 
  Html:</p>
  
  <pre><code>&lt;div class="cc-window cc-banner cc-type-info cc-theme-block" style=""&gt;
      &lt;span id="cookieconsent:desc" class="cc-message"&gt;This website uses cookies to improve your experience. To learn more, read our Privacy Policy. &lt;a class="cc-link"&gt;Learn more&lt;/a&gt;&lt;/span&gt;
      &lt;div class="cc-compliance"&gt;
          &lt;a class="cc-btn cc-dismiss"&gt;I ACCEPT&lt;/a&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I tried </p>
  
  <pre><code>jQuery('.cc-window.cc-banner').not(jQuery(".cc-link").not(jQuery(".cc-btn.cc-dismiss"))).on("click", function () {
          alert("HI!");
      });
  </code></pre>
  
  <p>But alert was triggering if I tap <code>cc-btn</code></p>