[jQuery] jquery.ajax question.

[jQuery] jquery.ajax question.


Hello i have a question about getting content via ajax.
i make a ajax call to an seperate php file with will return me the
content of the to be updated elements on a page. for example <div
id="box1">the content goes there</div>
<div id="box2">the second content goes there</div>
how can i manage the ajax result to take these elements on the right
place in the page.
i want to update each element of the result replace #box1 with the
#box1 from the ajax call and replace #box2 with the #box2 from the
ajax call
is this possible or i have to do a call each element?
thanks for your replies
Jens