Andy Jeffries wrote: > 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
This is exactly what I planned to do until you said it would be better to return json -- 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-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.