$("#attributes_index").html("<%= j render 'admin/attributes/index' %>") $.pageslide.close(); openSlide();