On Nov 6, 2007, at 9:43 AM, [EMAIL PROTECTED] wrote:

> Hi,
>
> I'm trying to update the content of a div with a form. So I did  
> (the form comes from an Ajax.Request):
>
> new Ajax.Request('return_form.php', {
> evalScripts:true,
> parameters:{ foo:\'bar\' },
> onSuccess:function(res){
> alert(res.responseText); // Here I can see the form.
> $('my_div').update(res.responseText);
> alert($('my_div').innerHTML); // Here I can't see the form :(
> }
> });
>

I've observed that as well.  Something in Prototype 1.6rc0 fixes  
that, but I'm not sure what.

--
~akk
http://therealadam.com




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to