title: Javascript, Stop preventDefault() to pass to child element
body: <p>I have a div container, where for some reason I have to add <code>e.preventDefault()</code>, but surprisingly it stops the anchor elements to do their job as well</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>jQuery('#anything').on("click", function(e) {
    e.preventDefault();
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;div id="anything"&gt;
    &lt;a href="https://google.com"&gt; Link should work &lt;/a&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I didn't expect that anchor won't work, I never had to deal with this before. I tried <code>StopPropagation()</code> as suggested somewhere, But that didn't work</p>
  
  <p>How can I make the anchor working again? </p>