title: javascript addEventListener without selecting children
body: <p>I <em>need</em> to use javascript only for this project. Sorry, no jQuery (I feel ashamed as well).</p>
  
  <p>I am adding an <code>addEventListener</code> to a div. "Problem" is that it applies to all its children, too.</p>
  
  <p>Is there a way to avoid this, and have the listener work only for that div?</p>
  
  <p>Thankd in advance.</p>
  
  <hr>
  
  <p>my code looks like this:</p>
  
  <pre><code>document.getElementById(myObj.id).addEventListener("mousedown", myObjDown, false);
  
  function myObjDown() {
    //do stuff here
  }
  </code></pre>