1 $("#inboxanchor").replaceWith("<%=j render :partial => "layouts/inbox" %>");
2 $("#inbox-count").replaceWith("<%=j render :partial => "message_count" %>");
3 $("#inbox-<%= @message.id %>").replaceWith("<%=j render :partial => "message_summary", :object => @message %>");