1

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?

Rob W
  • 341,306
  • 83
  • 791
  • 678
Rahul
  • 44,892
  • 25
  • 73
  • 103

1 Answers1

1

At your RJS template:

page.call( "functionName", 1, "something", "whatever" )
MaurĂ­cio Linhares
  • 39,901
  • 14
  • 121
  • 158