title: jquery, trigger, bind, strange parameter
body: <p>I have the following code:</p>
  
  <pre><code>&lt;body&gt;
      &lt;form&gt;
          &lt;input type="text"/&gt;
      &lt;/form&gt;
  
      &lt;script&gt;
  
          $( function () {
  
              $(document).bind("EVENT", function (event, element) {
                  console.log("BIND", element, event);
              });
  
              $("form").each( function iterate(index, element) {
  
                  console.log("BEFORE BIND", element);
                  $(document).trigger("EVENT", element)
              });
          })
      &lt;/script&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>I expect that the element that i pass to the TRIGGER is the same as i get at the BIND
  but no</p>
  
  <p>BEFORE BIND: this's the FORM, as it's expected</p>
  
  <p>BIND: this is the INPUT box, no idea why</p>
  
  <p>is it a bug or i miss something?</p>
  
  <p>best,
   Viktor</p>