阅读背景:

在HAML内的Javascript内的Ruby方法

来源:互联网 

I have a jQuery script that adds a new field to a form, and this field contains dynamic information from an array. The problem is that I can't figure out how to add an array.each to populate the options of the select field within the javascript without breaking the HAML indentation and causing errors.I have a jQuery script that adds a new field to




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

分享到: