<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Building a Javascript HTTP Request Queue</title>
	<atom:link href="http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/feed/" rel="self" type="application/rss+xml" />
	<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/</link>
	<description>Web development adventures with DSG</description>
	<lastBuildDate>Thu, 05 Nov 2009 06:58:18 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Maali</title>
		<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4566</link>
		<dc:creator>Maali</dc:creator>
		<pubDate>Fri, 09 Oct 2009 10:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4566</guid>
		<description>Hi 

I hvae problems listning to incoming http requests from a push server.
Can you help please?

Phone Status requests are pushed / send to my using http. But I do not know how to get it out to a web.

Best Regards
Maali</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>I hvae problems listning to incoming http requests from a push server.<br />
Can you help please?</p>
<p>Phone Status requests are pushed / send to my using http. But I do not know how to get it out to a web.</p>
<p>Best Regards<br />
Maali</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samer</title>
		<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4547</link>
		<dc:creator>samer</dc:creator>
		<pubDate>Wed, 15 Apr 2009 21:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4547</guid>
		<description>i&#039;m trying to download for files in different http requests can you help
me do that</description>
		<content:encoded><![CDATA[<p>i&#8217;m trying to download for files in different http requests can you help<br />
me do that</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JT</title>
		<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4524</link>
		<dc:creator>JT</dc:creator>
		<pubDate>Fri, 15 Aug 2008 09:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4524</guid>
		<description>NTT Says: 

May 13, 2008 at 3:24 pm 
i wish u could pass a user data as a parameter with the returnTo callback function.
by this u will be able to distinguish between calls

------------------------------------------------------------------------------------

I found that I could set an id property on the request and return it to my response handler very simply with the following

xmlHttp = new XMLHttpRequest();
xmlHttp.id = this.id;
xmlHttp.name = this.name;
if(xmlHttp.readyState==4)
{
HandleResponse( xmlHttp.responseText , xmlHttp.id, xmlHttp.name );
}

I couldn&#039;t get prototype to work on the xmlHttpRequest object (which could be a problem with IE7?) so to hold other information with the request I used the request objects &quot;name&quot; property and set it to be a list of delimitted values then use string.split in my response handler.</description>
		<content:encoded><![CDATA[<p>NTT Says: </p>
<p>May 13, 2008 at 3:24 pm<br />
i wish u could pass a user data as a parameter with the returnTo callback function.<br />
by this u will be able to distinguish between calls</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>I found that I could set an id property on the request and return it to my response handler very simply with the following</p>
<p>xmlHttp = new XMLHttpRequest();<br />
xmlHttp.id = this.id;<br />
xmlHttp.name = this.name;<br />
if(xmlHttp.readyState==4)<br />
{<br />
HandleResponse( xmlHttp.responseText , xmlHttp.id, xmlHttp.name );<br />
}</p>
<p>I couldn&#8217;t get prototype to work on the xmlHttpRequest object (which could be a problem with IE7?) so to hold other information with the request I used the request objects &#8220;name&#8221; property and set it to be a list of delimitted values then use string.split in my response handler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NTT</title>
		<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4518</link>
		<dc:creator>NTT</dc:creator>
		<pubDate>Tue, 13 May 2008 20:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4518</guid>
		<description>i wish u could pass a user data as a parameter with the returnTo callback function.
by this u will be able to distinguish between calls</description>
		<content:encoded><![CDATA[<p>i wish u could pass a user data as a parameter with the returnTo callback function.<br />
by this u will be able to distinguish between calls</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tulips</title>
		<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4508</link>
		<dc:creator>tulips</dc:creator>
		<pubDate>Thu, 03 Apr 2008 08:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4508</guid>
		<description>I am trying to make an ajax validation form (to validate int for phone number) using this query.But failed. may i ask your help? my codes are

function insertUserReply() {
if(http.readyState == 4){
var response = http.responseText;
if(response == 0){
document.getElementById(&#039;msg&#039;).innerHTML = &#039;Please fill all required fields!&#039;;
} 
if else (parseInt(document.forms[0].Telephone.value) != document.forms[0].Telephone.value) {
document.getElementById(&#039;msg&#039;).innerHTML = &#039;Please enter a telephone number, numbers only&#039;;
} 
else {
	container = document.getElementById(&#039;mylist&#039;);
	new_element = document.createElement(&#039;li&#039;);
	new_element.innerHTML = response;
	container.insertBefore(new_element, container.firstChild);
	lastRecord=document.getElementById(&#039;lastRecord&#039;).value;
	new_element.setAttribute(&#039;id&#039;, lastRecord);
	document.getElementById(&#039;msg&#039;).innerHTML = &quot;Customer added!&quot;;
}</description>
		<content:encoded><![CDATA[<p>I am trying to make an ajax validation form (to validate int for phone number) using this query.But failed. may i ask your help? my codes are</p>
<p>function insertUserReply() {<br />
if(http.readyState == 4){<br />
var response = http.responseText;<br />
if(response == 0){<br />
document.getElementById(&#8216;msg&#8217;).innerHTML = &#8216;Please fill all required fields!&#8217;;<br />
}<br />
if else (parseInt(document.forms[0].Telephone.value) != document.forms[0].Telephone.value) {<br />
document.getElementById(&#8216;msg&#8217;).innerHTML = &#8216;Please enter a telephone number, numbers only&#8217;;<br />
}<br />
else {<br />
	container = document.getElementById(&#8216;mylist&#8217;);<br />
	new_element = document.createElement(&#8216;li&#8217;);<br />
	new_element.innerHTML = response;<br />
	container.insertBefore(new_element, container.firstChild);<br />
	lastRecord=document.getElementById(&#8216;lastRecord&#8217;).value;<br />
	new_element.setAttribute(&#8216;id&#8217;, lastRecord);<br />
	document.getElementById(&#8216;msg&#8217;).innerHTML = &#8220;Customer added!&#8221;;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdul Sami</title>
		<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4501</link>
		<dc:creator>Abdul Sami</dc:creator>
		<pubDate>Thu, 06 Mar 2008 15:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4501</guid>
		<description>Can I have the complete source code for this to work.</description>
		<content:encoded><![CDATA[<p>Can I have the complete source code for this to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4500</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Wed, 20 Feb 2008 00:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4500</guid>
		<description>I may be a little slow but i cant get this working at all. I dont know if im doing anything wrong but im not getting any response.</description>
		<content:encoded><![CDATA[<p>I may be a little slow but i cant get this working at all. I dont know if im doing anything wrong but im not getting any response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AmexCredit Card</title>
		<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4048</link>
		<dc:creator>AmexCredit Card</dc:creator>
		<pubDate>Wed, 12 Dec 2007 07:30:05 +0000</pubDate>
		<guid isPermaLink="false">http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-4048</guid>
		<description>Hi. I’ve made a serious debt and I really need to do something about that. I think I should apply for a new credit card now, when my credit rating is so bad but I do not see any other way out except killing off my credit card debt with a new credit card. I believe it is possible to do if I pay all my bills duly in full.
 
&lt;a href=&quot;http://tranafer-balance.cn/unioin-credit-bureau-trans.html&quot; rel=&quot;nofollow&quot;&gt;trans unioin credit bureau&lt;/a&gt;
 
G7tb8Hjk</description>
		<content:encoded><![CDATA[<p>Hi. I’ve made a serious debt and I really need to do something about that. I think I should apply for a new credit card now, when my credit rating is so bad but I do not see any other way out except killing off my credit card debt with a new credit card. I believe it is possible to do if I pay all my bills duly in full.</p>
<p><a href="http://tranafer-balance.cn/unioin-credit-bureau-trans.html" rel="nofollow">trans unioin credit bureau</a></p>
<p>G7tb8Hjk</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: developen &#8250; Keyword Driven Automation</title>
		<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-3942</link>
		<dc:creator>developen &#8250; Keyword Driven Automation</dc:creator>
		<pubDate>Tue, 04 Dec 2007 05:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-3942</guid>
		<description>[...] uzak duruyorsanız, bazı durumlarda&#160; XMLHttpRequest() istemlerini bir iş kuyruğu ile y&#246;netmek zorunda [...]</description>
		<content:encoded><![CDATA[<p>[...] uzak duruyorsanız, bazı durumlarda&#160; XMLHttpRequest() istemlerini bir iş kuyruğu ile y&#246;netmek zorunda [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emmanuel</title>
		<link>http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-2384</link>
		<dc:creator>Emmanuel</dc:creator>
		<pubDate>Fri, 07 Sep 2007 18:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://dsgdev.wordpress.com/2006/10/28/building-a-javascript-http-request-queue/#comment-2384</guid>
		<description>This is a pretty good solution! I spent some time looking for something similar but couldn&#039;t really find anything. I used your ideas and made a nice AjaxManager object using good old prototype.</description>
		<content:encoded><![CDATA[<p>This is a pretty good solution! I spent some time looking for something similar but couldn&#8217;t really find anything. I used your ideas and made a nice AjaxManager object using good old prototype.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
