Does anyone know if there is a way to use a single XMLHTTPRequest object to send multiple asynchronous requests. I can do it with a single request and get a response back from my onreadystatechange() handler.
I'm wondering if there's a way to use the same object to send multiple parallel requests but I'm not seeing any way to match a response to a request from the onreadystatechange() function.
Short answer: You can't.
Question you really need to ask yourself is why would you want that over multiple XMLHTTPRequest objects ? There's hardly a downside to instantiating a dozen or so objects.