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!"
Seems nice. What are requirements of your scripts?
It uses Element#store and Element.#retrieve methods, but
they are undefined in our version of prototype (1.6.0.2).
Does your script require some extension?
And another question... Is that script public-domain, or you want it
to be distributed under some license? Which one? Or you have just
found it on the net and don't know?
Regards,
SWilk