"Karl Guertin" <[EMAIL PROTECTED]> writes:

> I don't do it this way, but I'd expect it do be evt.source. I try to
> avoid 'this' in javascript because I find it difficult to remember how
> it will behave. I generally use mochikit's bindargs().

I started doing that because I'm reusing a lot of functions in different
forms.  So, instead of having to pass some argument telling which form I'm
using, adding something with the form name or similar approach I decided on
letting the object introspection work :-)  It knows where it is, so I can ask
it for the form object and forget about it. :-)

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to