<?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/"
		>
<channel>
	<title>Comments on: AJAX &#8211; Beginner AJAX Tutorial</title>
	<atom:link href="http://codingrecipes.com/ajax-beginner-ajax-tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://codingrecipes.com/ajax-beginner-ajax-tutorial</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 04:47:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Codehead</title>
		<link>http://codingrecipes.com/ajax-beginner-ajax-tutorial/comment-page-1#comment-382</link>
		<dc:creator>Codehead</dc:creator>
		<pubDate>Mon, 01 Feb 2010 22:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.code-head.com/?p=755#comment-382</guid>
		<description>Great!

Are you on a dial-up connection? Because the timeout is already 10 seconds...

I&#039;m glad you figured it out :)</description>
		<content:encoded><![CDATA[<p>Great!</p>
<p>Are you on a dial-up connection? Because the timeout is already 10 seconds&#8230;</p>
<p>I&#8217;m glad you figured it out <img src='http://codingrecipes.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baptiste</title>
		<link>http://codingrecipes.com/ajax-beginner-ajax-tutorial/comment-page-1#comment-381</link>
		<dc:creator>Baptiste</dc:creator>
		<pubDate>Mon, 01 Feb 2010 21:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.code-head.com/?p=755#comment-381</guid>
		<description>No i don&#039;t use firewall.

I put the timeout to 20000 and it is good !</description>
		<content:encoded><![CDATA[<p>No i don&#8217;t use firewall.</p>
<p>I put the timeout to 20000 and it is good !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Codehead</title>
		<link>http://codingrecipes.com/ajax-beginner-ajax-tutorial/comment-page-1#comment-380</link>
		<dc:creator>Codehead</dc:creator>
		<pubDate>Mon, 01 Feb 2010 21:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.code-head.com/?p=755#comment-380</guid>
		<description>Are you using a firewall?

Some firewalls block AJAX...</description>
		<content:encoded><![CDATA[<p>Are you using a firewall?</p>
<p>Some firewalls block AJAX&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baptiste</title>
		<link>http://codingrecipes.com/ajax-beginner-ajax-tutorial/comment-page-1#comment-379</link>
		<dc:creator>Baptiste</dc:creator>
		<pubDate>Mon, 01 Feb 2010 21:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.code-head.com/?p=755#comment-379</guid>
		<description>No i didn&#039;t modify this code. It&#039;s the basic code demo :



Beginner AJAX Tutorial - Progress Bar






		function success_handler(o) {
			replace_html(&#039;content&#039;, o.responseText);
		}

		function failure_handler(o) {
			replace_html(&#039;content&#039;, &#039;Server or your connection is death&#039;);
		}

		function replace_html(id, content) {
			document.getElementById(id).innerHTML = content;
		}

		function show_progressbar(id) {
			replace_html(id, &#039;&#039;);
		}

		function send_request() {
			show_progressbar(&#039;content&#039;);
			var callback = { success:success_handler,	failure:failure_handler, timeout: 10000 };
			YAHOO.util.Connect.asyncRequest(&#039;GET&#039;, &#039;http://images.code-head.com/tutorials/ajax/beginner-ajax-tutorial.php&#039;, callback);
		}

		function test_failure() {
			show_progressbar(&#039;content&#039;);
			var callback = { success:success_handler,	failure:failure_handler, timeout: 10000 };
			YAHOO.util.Connect.asyncRequest(&#039;GET&#039;, &#039;http://images.code-head.com/tutorials/ajax/some-file-that-doesnt-exists.php&#039;, callback);
		}

		var progress_bar = new Image();
		progress_bar.src = &#039;http://images.code-head.com/progress-bars/4.gif&#039;;</description>
		<content:encoded><![CDATA[<p>No i didn&#8217;t modify this code. It&#8217;s the basic code demo :</p>
<p>Beginner AJAX Tutorial &#8211; Progress Bar</p>
<p>		function success_handler(o) {<br />
			replace_html(&#8216;content&#8217;, o.responseText);<br />
		}</p>
<p>		function failure_handler(o) {<br />
			replace_html(&#8216;content&#8217;, &#8216;Server or your connection is death&#8217;);<br />
		}</p>
<p>		function replace_html(id, content) {<br />
			document.getElementById(id).innerHTML = content;<br />
		}</p>
<p>		function show_progressbar(id) {<br />
			replace_html(id, &#8221;);<br />
		}</p>
<p>		function send_request() {<br />
			show_progressbar(&#8216;content&#8217;);<br />
			var callback = { success:success_handler,	failure:failure_handler, timeout: 10000 };<br />
			YAHOO.util.Connect.asyncRequest(&#8216;GET&#8217;, &#8216;http://images.code-head.com/tutorials/ajax/beginner-ajax-tutorial.php&#8217;, callback);<br />
		}</p>
<p>		function test_failure() {<br />
			show_progressbar(&#8216;content&#8217;);<br />
			var callback = { success:success_handler,	failure:failure_handler, timeout: 10000 };<br />
			YAHOO.util.Connect.asyncRequest(&#8216;GET&#8217;, &#8216;http://images.code-head.com/tutorials/ajax/some-file-that-doesnt-exists.php&#8217;, callback);<br />
		}</p>
<p>		var progress_bar = new Image();<br />
		progress_bar.src = &#8216;http://images.code-head.com/progress-bars/4.gif&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Codehead</title>
		<link>http://codingrecipes.com/ajax-beginner-ajax-tutorial/comment-page-1#comment-378</link>
		<dc:creator>Codehead</dc:creator>
		<pubDate>Mon, 01 Feb 2010 21:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.code-head.com/?p=755#comment-378</guid>
		<description>Did you modify this code by any chance? If so, please post your code here...</description>
		<content:encoded><![CDATA[<p>Did you modify this code by any chance? If so, please post your code here&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baptiste</title>
		<link>http://codingrecipes.com/ajax-beginner-ajax-tutorial/comment-page-1#comment-377</link>
		<dc:creator>Baptiste</dc:creator>
		<pubDate>Mon, 01 Feb 2010 21:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.code-head.com/?p=755#comment-377</guid>
		<description>Hello,

When i click on &quot;Send request&quot; or &quot;Fail a request&quot;, i have &quot;Server or your connection is death&quot;, why ?
Thanks you per advance,

Baptiste.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>When i click on &#8220;Send request&#8221; or &#8220;Fail a request&#8221;, i have &#8220;Server or your connection is death&#8221;, why ?<br />
Thanks you per advance,</p>
<p>Baptiste.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
