# RJS - Insert\_html and visual\_effect at the same time

**URL:** <https://www.ruby-forum.com/t/rjs-insert-html-and-visual-effect-at-the-same-time/159065>\
**Category:** Rails\
**Created:** [January 31, 2009, 2:49am UTC](https://www.ruby-forum.com/t/rjs-insert-html-and-visual-effect-at-the-same-time/159065 "2009-01-31T02:49:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidstokar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Post date:** [January 31, 2009, 2:49am UTC](https://www.ruby-forum.com/t/rjs-insert-html-and-visual-effect-at-the-same-time/159065/1 "2009-01-31T02:49:14Z")

</div>

Hello,  
there is any way to add a partial using insert\_html using visual\_effect  
to do it?  
(inset\_html and visual\_effect at the same time.)

I want to do something like:

render :update do |page|  
page.insert\_html.visual\_effect :bottom, :invoice\_items, :partial =\>  
“invoice\_item”, :object =\> InvoiceItem.new, :BlindDown  
end

thanks,

David S.
