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 [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.

Reply via email to