Access this in jquery each function
<p>How can I acces my object variables within a $.each function?</p>

<pre><code>function MyClass()
{
  this.mySetting = 'Hallo';
  this.arr = [{caption: 'Bla', type: 'int'}, {caption: 'Blurr', type: 'float'}];
}

MyClass.prototype.doSomething = function() {

  $.each(this.arr, function() {
    //this here is an element of arr.
    //...but how can I access mySetting??
  });
}
</code></pre>
