Is it possible to call an application level prototype JavaScript function from rjs? I wanna call a function to perform certain tasks after my ajax call. How am i supposed to do it?
Asked
Active
Viewed 156 times
1 Answers
1
At your RJS template:
page.call( "functionName", 1, "something", "whatever" )

MaurĂcio Linhares
- 39,901
- 14
- 121
- 158