Hi, For Ajax calls *via Prototype*, there's Ajax.Responders[1]. I'm pretty sure there's no generic event for all direct XHR uses.
[1] http://prototypejs.org/api/ajax/responders HTH, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Jul 24, 6:28 pm, "Joachim H. Skeie" <[email protected]> wrote: > Hello, > > I would like to be able to execute code whenever an ajax event is > triggered. The reason for this, is that I need to know that the DOM is > finished loading when I first execute the code. > > I have my code inside the > > document.observe('dom:loaded'... > > I would also llike to be able to execute some JavaScript code on a > ajax success, something like > > document.observe('ajax:success'... > > Does anyone know if this is available in Prototype by default ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
