Okay, if you want to do that, then just wrap the parent.observe  
listener in a document.observe('dom:loaded') listener.

The reason why you would want to observe the parent is because you  
don't want to go through this little dance on every last click on the  
entire page, only the ones where it might be useful.


On May 22, 2009, at 2:54 PM, ykaerflila wrote:

>  I tried observing the parent
> div with poor results but I am betting that is because I'm loading the
> script prior to the div being loaded.

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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to