How to call javascript function in RJS?


#1

Hi, I have a javascript function in an included javascript file.

How can I call a function in this file from within an rjs template?

Thanks
Scott


#2

page.call “your_function()”


#3

page.call

http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper/JavaScriptGenerator/GeneratorMethods.html#M000555