title: Can an event listener listen two elements? Can you give the handler more parameters?
body: <p>I am experimenting with <a href="http://docs.closure-library.googlecode.com/git/closure_goog_events_events.js.html#goog.events.listen" rel="nofollow"><code>goog.events.listen(src, type, listener, opt_capt, opt_handler)</code></a>.
  Sometimes I have more than one source but always the same event-type and function that should be called when this event happens (listener). </p>
  
  <p>Should I simply type this once for every source or is there a better way to do it?</p>
  
  <p>As I like to handle this within the object I am creating the listener, I set <code>opt_handler = this</code>. I think that in my application it can't happen that two events which have listeners are called at the same moment, so I let <code>opt_capt = false</code>.</p>
  
  <p>In my JavaScript-file looks like:</p>
  
  <pre><code>var htmlElement = goog.dom.getElement(el[0]);
  goog.events.listen(htmlElement, goog.events.EventType.CLICK, this.myFunction, false, this);
  </code></pre>
  
  <p>Now <code>myFunction</code> gets only the event as an argument. But I would like to know which htmlElement was clicked. How do I get this information?</p>