I have a list in my page and I want to show there additional information
like:
my link
+ show me more
my 2 link
+ show me more
etc..
I have a element for hidden info:
<div id="link_long_<%= link.id %>" style="display:none">
<%= link.long %>
</div>
How can I pass a link id with something like this:
<%= link_to_function "+", "link_long_id".toggle(), :style =>
'text-decoration:none' %></td>
This does not work.
Thank you!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---