# Multiple xhr requests

**URL:** <https://www.ruby-forum.com/t/multiple-xhr-requests/97421>\
**Category:** Rails\
**Created:** [July 7, 2006, 12:07am UTC](https://www.ruby-forum.com/t/multiple-xhr-requests/97421 "2006-07-07T00:07:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Person](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f14d63/32.png) [@Person](https://www.ruby-forum.com/u/Person)\
**Post date:** [July 7, 2006, 12:07am UTC](https://www.ruby-forum.com/t/multiple-xhr-requests/97421/1 "2006-07-07T00:07:55Z")

</div>

Hi I have a window that looks like this

* * *

## | | Enter

That box will take a command that the user enters and runs it on a  
server in the background loading a new window for the user to view the  
results. Is there a way to take multiple xhr requests so that the next  
request the user enters , a new window will pop up right away, instead  
of stalling for the first xhr request to finish?

thanks

---

<div class="post-metadata">

**Author:** ![Person](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f14d63/32.png) [@Person](https://www.ruby-forum.com/u/Person)\
**Post date:** [July 7, 2006, 12:16am UTC](https://www.ruby-forum.com/t/multiple-xhr-requests/97421/2 "2006-07-07T00:16:03Z")

</div>

also, i would like some of the commands to go on the same page so not  
all of them will be on new windows

Person wrote:

> Hi I have a window that looks like this
> 
> * * *
> 
> ## | | Enter
> 
> That box will take a command that the user enters and runs it on a  
> server in the background loading a new window for the user to view the  
> results. Is there a way to take multiple xhr requests so that the next  
> request the user enters , a new window will pop up right away, instead  
> of stalling for the first xhr request to finish?
> 
> thanks
