Refresh a partial

I have a partial that display me some informations from database
When i delete an entry i wan’t to refresh the partial that updates to
page too wihtout the deleted item.
How can i refresh a partial?

Supposing you’re using an ajax call to the delete action, you’ll be
using an RJS template with:
page.replace_html ‘my-div’, :partial=>‘my_partial’

Spiceee.

adi wrote:

I have a partial that display me some informations from database
When i delete an entry i wan’t to refresh the partial that updates to
page too wihtout the deleted item.
How can i refresh a partial?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs