Hi.

I know that I need to stop observing on elements before I destroy them
(say they are coming in via an AJAX connection).

I know one way of handling this is to not actually attach events to
dynamic content, but to the container and then use the bubbling
effect.

With that, the event handler for such a container may have several
different paths through the code, depending upon the event and the
element that triggered it.

I suppose if the generic event handler was nothing more than a switch
board, then the functions which is attached directly could remain as
they are.

Anyone know of anything else I should be aware of with this issue?

Regards,

Richard Quadling.

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to