Thorsten Mueller wrote: t's an easy one. > > you can use link_to_remote (and all related ajax link generating > helpers) > in two ways: > with the :update option or without. > > if you use it, as you do with :update => "commentlist", then > it expects pure html as response and will try to update the named > element, "commentlist" in that case. > So it interprets your response as HTML. > remove the :update thing, you tell it with > page.replace_html "editarearight" > that you want to replace another element anyway.
Thanks :-) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en -~----------~----~----~----~------~----~------~--~---

