Thanks for the clue. Note that I have no control of the server application that generates the response (I cannot send a Id or some sort to server and ask server to send me this Id back). Is there a way to associate the response to the element that triggered the Ajax? Thanks.
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design
Since you have Ajax in Practice, pay special attention to chapter 4 where you will see how using a library like Prototype or jQuery makes it very easy to make Ajax calls in an OO fashion. Each request can easily be associated with separate handler functions that will keep your request threads under control.