阅读背景:

将对象从Rails RJS传递给javascript函数调用而不引用值?

来源:互联网 

In a Ruby on Rails project I need to have a JavaScript function executed at the end of an Ajax call. My problem is that the values being passed into the JavaScript function being called with page.call are being wrapped up in quotes. Not too much of a problem if you're passing in strings but one of the values is a string representation of a JavaScript Array, i.e. [0,1,2,3].In a Ruby on Rails project I need to have a Jav




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: