You would have to modify the source as it does not push the object into the 
onComplete callback...

Alex Mcauley
http://www.thevacancymarket.com
----- Original Message ----- 
From: "Lox" <laurent.dincl...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Monday, November 16, 2009 12:36 PM
Subject: [Proto-Scripty] Ajax.Updater: alter retrieved content


>
> Hello,
>
> I use Ajax.Updater to update a div content.
>
> I need to add <script>varname = content</script> to every content
> retreived with Ajax.Updater. Is there a way to do it with Responders ?
>
> I tried:
>
> Ajax.Responders.register({
> onSuccess: function(r) {
>    r.transport.responseText = 'test';
>   }
> });
>
> With no sucess.
>
> Any idea?
>
> Regards.
> >
> 


--~--~---------~--~----~------------~-------~--~----~
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 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to