[Rails] Re: RJS page.update question

2008-11-22 Thread Frederick Cheung
On Nov 22, 8:32 pm, Joe Blow <[EMAIL PROTECTED]> wrote: > I am aware of page.update and page.replace_html but I was wondering how > it actually works. > > Basically I have a callback from a scriptaculous effect that will update > a div with the results of some partial so I can not use the built

[Rails] Re: RJS page.update question

2008-11-22 Thread Joe Blow
I am aware of page.update and page.replace_html but I was wondering how it actually works. Basically I have a callback from a scriptaculous effect that will update a div with the results of some partial so I can not use the built in page.xxx calls. -- Posted via http://www.ruby-forum.com/. -

[Rails] Re: RJS page.update question

2008-11-22 Thread Frederick Cheung
On Nov 22, 12:02 am, Joe Blow <[EMAIL PROTECTED]> wrote: > How does page.update actually work? I know its a wrapper for > Prototype.update but how does it get the partial in there? > > Say I wanted to update a div with the contents of a partial manually > like this. > > content = render(:partial =