I try to make a visual effect “toggle” on a list generated automatically
from a controller, I’ve tried this but that doesn’t work? the id
"answer_<%=i%> isn’t recognized I think?
<[email protected] do |question|%>
<%= link_to_function(question.description) do |page| page.visual_effect :toggle_appear, 'answer_<%=i%>' end%>
Thank you for your help,