> > I'd do it as the OP requested, have a partial used in both places and > return that. >
Sorry, just realised you were the OP :-) In particular I'd use jQuery's load method to load the URL in to an element (the original page's container for this section): http://api.jquery.com/load/ And from within the controller just render the partial: render :partial => "my_data" (having a view called _my_data.html.erb). Cheers, Andy -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.