简体   繁体   中英

calling application prototype js function from rjs

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?

在您的RJS模板上:

page.call( "functionName", 1, "something", "whatever" )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM