$("#comment_<%= @comment.id.to_s %>_div").html("<%= escape_javascript( render :partial => 'form', :locals => {:comment => @comment}) %>"); <%= javascript_callback %>