On Apr 12, 2:20 am, kstubs <[email protected]> wrote:
> So quickly I go from "I got it", to scratching my head and "I don't
> got it".... but, I have made your changes and it works! I guess then
> I only need to _bind_ in the case where I define my function for my
> timer and in my Event _observe_ definitions?. Sound about right?
>
You need to use 'bind' when
- you want to use 'this' in your function, and
- it is not going to get set automatically, eg. by calling the
function as a method.
That's all.
Colin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---