Jquery $().each method obscures 'this' keyword
<p>I am creating a Javascript object that contains a function that executes a jQuery <code>each</code> method like the following:</p>

<pre><code>function MyClass {

  Method1 = function(obj) { 
    // Does something here
  }

  Method2 = function() {
    $(".SomeClass").each(function() {

       // 1          2
       this.Method1(this);

    });
  }

}
</code></pre>

<p>Which object is each <code>THIS</code> referring to?  jQuery is referring to the item returned from the <code>each</code> iteration.  However, I would like <code>This[1]</code> to refer to the containing class...</p>

<p>How can I refer to the containing class from within the jQuery loop?</p>
