To bind a callback to thesame object the function is called from, i use
code like this:

// Load new content
var _this = this;
this.objContent.load(strValue, null, function() {
    _this._doCallback(_this.cfgOptions.onLoad);
});

I think it may cause a memory leak, but i don't know of a way to
circumvent this. Tips anyone?

-- GIlles


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to