I still like the rescope function. :)
http://groups.google.com/group/jquery-en/browse_thread/thread/43644231b5764f12?q=rescope+jquery#ca1b1069580a3f25
On Sat, Feb 7, 2009 at 8:03 PM, Karl Rudd wrote:
>
> Assign "this" to a local variable.
>
> function blah() {
> var blahThis = this;
> someEx
Sorry, cut and paste error there. Corrected:
function blah() {
var blahThis = this;
someExternalFunction( function() {
blahThis.doSomething();
});
}
Karl Rudd
On Sun, Feb 8, 2009 at 12:03 PM, Karl Rudd wrote:
> Assign "this" to a local variable.
>
> function blah() {
> var blahThis = thi
Assign "this" to a local variable.
function blah() {
var blahThis = this;
someExternalFunction( function() {
blahThis.doSomething();
}
}
Karl Rudd
On Sun, Feb 8, 2009 at 9:28 AM, Alexander wrote:
>
> Goodday!
> Could anyone tell me how to save "this" context inside callback?
> Here is
3 matches
Mail list logo