Ajax request & updating multiple divs



I’m a relative newbie to RoR and had a question about using
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
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
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