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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs