I have an answer to my own question (i'm still reading up on the
theory of closures, but i think that this is an example of one)...

I saved "this" into another variable and created an anonymous function
which called the "bind" method using my saved "this"....

var this_copy = this;
function doBind() {
$(...).bind('someevent', function() { this_copy.somemethod()})
}

etc.,

On Aug 2, 4:31 pm, ablock <[EMAIL PROTECTED]> wrote:
> I know when using addEventListener to "this" refers to the "owner"
> which is in this case the HTML element. The JQuery method "bind" seems
> to act similarly. Is there away to access the object that called the
> event handler also?
> Thanks

Reply via email to