I'm trying to get page.call to work and if i call something like
page.call 'alert', 'this is a test'
everything works ok, however when i try calling a function that i
defined in application.js
alert('this is a test');} i get NameError (undefined local variable or method `my_function' for
Any idea what i'm doing wrong here. Any input is greatly appreciated.
What's in your rjs file ?