You could put it into a class I guess and make multiple calls on the class that fire the request? Though what you have done there should work. Cant see why it wouldn't unless there is something in there not allowing it until the first request has completed.
-----Original Message----- From: Grace [mailto:[email protected]] Sent: Thursday, 20 May 2010 1:18 PM To: MooTools Users Subject: [Moo] Multiple send() calls for one Request instance How can I make more than on XHR call using on Request instance? This is what I did: var req = new Request({ method: 'get', url: '/foo' }); req.send(); req.send(); But in this case req is only being called once, not twice. I can understand making request call twice does not make sense, but I'm wondering if there is a way that I make two exact same calls? The second call reference something from the first call? Thank you!
