Still struggling on trying to implement a partial

I'm no expert, but I think you want to do something like this in the
controller#display_details method:

render :update do |page|
  page.replace_html('details', :partial => 'display_details')
end

Then have _display_details.rhtml output the html you want inside the
<div id="details"> .. </div> tags.