$('#<%= @article.id %>').html('<%= escape_javascript(render("article_row")) %>'); $.fancybox.close();