title: addEventListener not working for ajax generated content (pure javascript)
body: <p>I loaded content with divs dynamically via ajax (pure javascript) inside "test". Now, when I click on a child div of index 6 I want an alertbox to appear but this is not the case.</p>
  
  <p>How do I make the click event work? Gets is called if the ajax request has been completed. It works fine If I remove the eventlistener and just add an alertbox, displaying the appropiate content. With the the eventlistener it utterly fails to bind a handler onto the target div.</p>
  
  <pre><code>function gets(){
      document.getElementById("test").children[6].addEventListener("click", function() {
          alert(document.getElementById("test").children[6])
      })
  }
  </code></pre>