$("#comment_<%= @comment.id.to_s %>_body_div").html("<%= escape_javascript( render :partial => 'body', :locals => {:comment => @comment}) %>"); $("#comment_<%= @comment.id.to_s %>_updated_timestamp_span").html("<%= escape_javascript( "#{@comment.updated_timestamp} by #{commontator_name(comment.editor)}") %>"); $("#comment_<%= @comment.id.to_s %>_actions_span").html("<%= escape_javascript( render :partial => 'actions', :locals => {:comment => @comment, :user => @user}) %>"); $("#comment_<%= @comment.id %>_votes_span").html("<%= escape_javascript( render :partial => 'votes', :locals => {:comment => @comment, :user => @user}) %>"); <%= javascript_proc %>