title: dropzone-meteor howto fire events
body: <p>i'm new to Meteor and and i want to learn something about it. therefore i want to build a page were i can upload images via <a href="https://github.com/devonbarrett/meteor-dropzone" rel="nofollow">meteor-dropzone</a>.</p>
  
  <p>the upload is working with <a href="https://github.com/tomitrescak/meteor-uploads" rel="nofollow">meteor-uploads</a>.</p>
  
  <p>now i want to get events, like 'addedfile' or 'drop' from the dropzone to fire some new functions.</p>
  
  <p>HTML Page Profile2:</p>
  
  <pre><code>&lt;template name="profile2"&gt;    
      &lt;div class="ibox-content"&gt;                                 
         {{&gt; dropzone url='http://localhost:3000/uploads' maxFilesize=5 addRemoveLinks=true acceptedFiles='image/*,jpg,jpeg,png' id='dropzoneDiv'}}
      &lt;/div&gt;
  &lt;/template name="profile2"&gt;  
  </code></pre>
  
  <p>In The JS File for Profile2 i wrote this:</p>
  
  <pre><code>Template.dropzone.events({
      'addedfile #dropzoneDiv': function(e, template){
          e.preventDefault();
          console.log("Hello");
      }
  });
  </code></pre>
  
  <p>But i don't see something in the console.log output.</p>
  
  <p>I'm sure i'm doing something wrong. But i have no i idea where the problem or the wrong understanding is.
  Can somebody help me please.</p>
  
  <p>Thanks.
  Michael</p>