So I strip it down to

page.replace_html('aremark', :partial => "content")

Still won't work without refreshing the page


Frederick Cheung wrote:
> On Jul 27, 8:56�pm, Neil Bye <[email protected]> wrote:
>> This is create.rjs
>>
>> <script>
>> aremark = page.getElementById("aremark")
>> page.replace_html('aremark', :partial => "content")
>> </script>
>>
> This is weird - if it's an rjs file you don't want script tags - an
> rjs file only contains ruby.
> 
> Fred

-- 
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.

Reply via email to