When you run <%= div_for X do%><%end%> it creates the unique id = X_number. I wa开发者_StackOverflow社区nt to know how you reference a specific div by its unique id with a variable? Is it like #@X.id?
e.g. using jQuery $('#{ dom_id(x) }') but I am not sure if I understand your question correctly
加载中,请稍侯......
精彩评论