Ha.  I hadn't though that it might be a property instead of a
function.  Making that change eliminates the error, but the
functionality isn't as expected.

edit_row = function(e) {
        element = this.target;
        logDebug(element);
}

produces empty output in the debug log.

On Mar 27, 11:09 am, Jorge Godoy <[EMAIL PROTECTED]> wrote:
> "Brian Morton" <[EMAIL PROTECTED]> writes:
> > I think this is what I was looking for.  I was unaware that 'this' was
> > available in the context of an event handler function.  However,  it
> > seems in my case it is not.  Trying to assign this.target(); to a
> > variable produces the following error: this.target is not a function.
>
> And have you tried "this.target;" instead?
>
> > Is that only available in SVN?  I am using 1.3.1 release.  Thanks.
>
> I use MochiKit 1.3.1 as well.
>
> --
> Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to