# Ajax request & updating multiple divs

**URL:** <https://www.ruby-forum.com/t/ajax-request-updating-multiple-divs/78452>\
**Category:** Ruby\
**Created:** [March 8, 2006, 3:24pm UTC](https://www.ruby-forum.com/t/ajax-request-updating-multiple-divs/78452 "2006-03-08T15:24:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_G\_Ssent\_by\_Na](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/8edcca/32.png) [@Chris\_G\_Ssent\_by\_Na](https://www.ruby-forum.com/u/Chris_G_Ssent_by_Na)\
**Post date:** [March 8, 2006, 3:24pm UTC](https://www.ruby-forum.com/t/ajax-request-updating-multiple-divs/78452/1 "2006-03-08T15:24:44Z")

</div>

Hi,

I’m a relative newbie to RoR and had a question about using  
form\_remote\_tag.  
I hope I’m posting this to the right list

I am using form\_remote\_tag to update a section of a page using AJAX once  
a  
form is submitted. I am specifying which part of a page i want to  
respond to  
the submission of my form by using the :update=\> “area” parameter.

Now I have realised I need to update 2 areas of the page. One part in  
the  
centre of the page and another part in a sidebar, in response to the  
completion of the form. How do I do this using the above function???

Many Thanks  
Chris
