Hi Jian Lin,

On Mon, May 24, 2010 at 7:33 AM, Jian Lin <li...@ruby-forum.com> wrote:


> Will there be situation where the code is quite big (like 1 or 2k) that
> RJS can use some sort of static Javascript already loaded to handle the
> effect?
>

You can call any loaded Javascript function, including ones you've coded
yourself, using page.call from an RJS template or render block.  Cody
Fauser's "RJS Templates" PDF, available for $10 at O'Reilly, is still the
best source on RJS IMHO.

HTH,
Bill

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to