// 组织成员删除后,同步刷新成员数和成员列表 $("#org_members_count_id").html(""); $("#org_members_count_id").html("<%= @organization.org_members.count %>"); $("#org_member_list").html('<%= escape_javascript( render :partial => "organizations/org_member_list", :locals => {:members => @members}) %>');