# Update partial after submit need Help

**URL:** <https://www.ruby-forum.com/t/update-partial-after-submit-need-help/173351>\
**Category:** Rails\
**Created:** [August 7, 2009, 7:37am UTC](https://www.ruby-forum.com/t/update-partial-after-submit-need-help/173351 "2009-08-07T07:37:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirosh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ce7236/32.png) [@nirosh](https://www.ruby-forum.com/u/nirosh)\
**Post date:** [August 7, 2009, 7:37am UTC](https://www.ruby-forum.com/t/update-partial-after-submit-need-help/173351/1 "2009-08-07T07:37:58Z")

</div>

hi

here i have a todo manager. i’m render the whole todo with a partial.  
after i submit a new todo how can i refresh the todo partial  
samethin lik this

 \<%=render :partial=\>"todos" %\>

 -- here my new todo submit form

after the new todo submit form submition i need to refresh the partial  
todos

---

<div class="post-metadata">

**Author:** ![nirosh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ce7236/32.png) [@nirosh](https://www.ruby-forum.com/u/nirosh)\
**Post date:** [August 7, 2009, 8:08am UTC](https://www.ruby-forum.com/t/update-partial-after-submit-need-help/173351/2 "2009-08-07T08:08:50Z")

</div>

Hi  
first of all give an id to the div and then update it

Sijo
