title: How to use querySelector with an anchor tag with href?
body: <p>I'm trying to use dropzone and I have a anchor tag and I need to add a event click to it but the way I'm done this returns error.</p>
  
  <p>Html:</p>
  
  <pre><code>&lt;a href="#new-intervention"&gt;Criar Intervenção&lt;/a&gt;
  </code></pre>
  
  <p>Jquery:</p>
  
  <pre><code>var myDropzone = this;
  
  this.element.querySelector("a[href=#new-intervention]").addEventListener("click", function(e) {
    e.preventDefault();
    e.stopPropagation();
    myDropzone.processQueue();
   });
  </code></pre>
  
  <p>And return me this in console:</p>
  
  <pre><code>Uncaught DOMException: Failed to execute 'querySelector' on 'Element': 'a[href=#new-intervention]' is not a valid selector.
  </code></pre>
  
  <p>How can I do that? What is the alternative?</p>