[Rails] link_to_function inside of another link_to_function?
Hi,
Is something like this possible?
<% link_to_function 'Name',stuff do |page|
page.replace_html 'id', :text => link_to_function
'Name2',stuff2 do |page2|
page2.replace_html etc
end
end %>
I'm using the first link_to_function to create a link in a div without
reloading entire page, I want the second link_to_function to change the
div back. Any help would be appreciated.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home