so normally you can use
Event.observe(window, 'load'
to fire some js after loading, secure in the knowledge that all
external js files have been loaded and all elements have been set up.
Whats the equivalent for firing an event after an
new Ajax.Updater('modal-ajaxdiv', url, { evalScripts:true });
from inside the returned content?
yes, I've seen onComplete callback, but
a) is that fired after external js files are loaded, etc?
b) for the sake of not having a spralling code base, i'd prefer to
fire it from inside the returned content.
thanks in advance,
James
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---