You can register a callback function on the first element that will then fire an event on some other element if it exists.
On Wed, Feb 25, 2009 at 5:26 PM, sliver <sliver2...@gmail.com> wrote: > > Is there a way to trigger an event one element when another element is > say, removed or hidden? In other words, maybe a way to register any > number of elements to another element with callbacks to be called when > a certain event occurs to the main element.