How to access class instance in event hanlder (JavaScript)?
<p>Code:</p>

<pre><code>function Customer(name){
   this._name=name;
};

Customer.prototype.init=function(){
   $('#SetCreditLevel').click(function(){
      //best way to access this._name ?
      //this now points to DOM element

   });
}
</code></pre>
