How to read eventObject in .click() handler?
<p>I have the following object:</p>

<pre><code>function Controller() {
   $(".button").click(this.handleClick);
}

Controller.prototype.handleClick = function(event) {
  console.log("Clicked: "+event.target.id); 
};
...

return Controller;

});
</code></pre>

<p>Is the way I'm reading the eventobject in handleClick() incorrect?</p>

<p>It seems to work every now and then, while giving empty results most of the time - no errors in console though.</p>

<p>EDIT: I changed the "target" to "currentTarget" and now it works!</p>
