阅读背景:

如何使用嵌入式ruby动态创建jquery选择器(在.js中)。erb文件)?

来源:互联网 

As part of an ajax call, I am trying to use embedded ruby to generate the id portion of a jquery select in a .js.erb file. Below is how I got it to work, but I had to use a slight of hand and get the javascript in the browser to concat the id to the selector instead of constructing the jquery selector on the server.As part of an ajax call, I am trying to use emb




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

分享到: