<?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: Simple Ajax using Prototype. Part 1</title>
	<atom:link href="http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/</link>
	<description>Helping newbies learn AJAX with Tutorials</description>
	<lastBuildDate>Sat, 08 Jan 2011 17:21:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Brij Bhushan</title>
		<link>http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/#comment-12364</link>
		<dc:creator>Brij Bhushan</dc:creator>
		<pubDate>Thu, 02 Oct 2008 07:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/#comment-12364</guid>
		<description>good example</description>
		<content:encoded><![CDATA[<p>good example</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brij Bhushan</title>
		<link>http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/#comment-12363</link>
		<dc:creator>Brij Bhushan</dc:creator>
		<pubDate>Thu, 02 Oct 2008 07:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/#comment-12363</guid>
		<description>Very good example to learn basic functionality of AJAX</description>
		<content:encoded><![CDATA[<p>Very good example to learn basic functionality of AJAX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lidador</title>
		<link>http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/#comment-4691</link>
		<dc:creator>lidador</dc:creator>
		<pubDate>Tue, 10 Jun 2008 00:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/#comment-4691</guid>
		<description>Seems this doesn&#039;t work on FF.  It looks like the ajax call is being kicked off by a popup window and it
updates a row on the main page.  The problem is that the popup page was refreshing before the ajax call was complete, somehow causing the response to be empty.  To fix it I have tried to put the function call inside a setTimeout.

function callback() {
setTimeout(&#039;ajaxRequest()&#039; ,10); 
}

function delay_ajax() {
ajaxRequest(&#039;parse.php&#039;, &#039;val=&#039;+$F(&#039;myval&#039;));
}

and, of course: 

... but didn&#039;t work also :( Any help?!</description>
		<content:encoded><![CDATA[<p>Seems this doesn&#8217;t work on FF.  It looks like the ajax call is being kicked off by a popup window and it<br />
updates a row on the main page.  The problem is that the popup page was refreshing before the ajax call was complete, somehow causing the response to be empty.  To fix it I have tried to put the function call inside a setTimeout.</p>
<p>function callback() {<br />
setTimeout(&#8216;ajaxRequest()&#8217; ,10);<br />
}</p>
<p>function delay_ajax() {<br />
ajaxRequest(&#8216;parse.php&#8217;, &#8216;val=&#8217;+$F(&#8216;myval&#8217;));<br />
}</p>
<p>and, of course: </p>
<p>&#8230; but didn&#8217;t work also :( Any help?!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: banjojim</title>
		<link>http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/#comment-201</link>
		<dc:creator>banjojim</dc:creator>
		<pubDate>Sun, 28 Jan 2007 00:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/#comment-201</guid>
		<description>I&#039;m running your example but the return value is the following:

if(isset($_GET[Ã¯Â¿Â½valÃ¯Â¿Â½])) { echo Ã¯Â¿Â½You entered: Ã¯Â¿Â½.$_GET[Ã¯Â¿Â½valÃ¯Â¿Â½]; }

It seems like PHP isn&#039;t parsing the script. I know PHP is working because php phpinfo() works fine. Any suggestions? I&#039;m sure it&#039;s a PHP problem but I&#039;m not sure how to continue.</description>
		<content:encoded><![CDATA[<p>I&#8217;m running your example but the return value is the following:</p>
<p>if(isset($_GET[Ã¯Â¿Â½valÃ¯Â¿Â½])) { echo Ã¯Â¿Â½You entered: Ã¯Â¿Â½.$_GET[Ã¯Â¿Â½valÃ¯Â¿Â½]; }</p>
<p>It seems like PHP isn&#8217;t parsing the script. I know PHP is working because php phpinfo() works fine. Any suggestions? I&#8217;m sure it&#8217;s a PHP problem but I&#8217;m not sure how to continue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/#comment-200</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Wed, 24 Jan 2007 23:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxtutorial.net/index.php/2006/11/29/simple-ajax-using-prototype-part-1/#comment-200</guid>
		<description>beachbumdrums,

I&#039;m not to sure why you get this error. If possible can you run it with FF2 with the Firebug extension? this will give you a better indication of where exactly the error is coming from.

Also, I do not know if this makes any difference, but try changing the ` (funny single quotes which wordpress generates) to proper single quotes. Sometime wordpress changes the code a little.

Finally you could take out the F() function, and place:
&lt; input type=&quot;button&quot; value=&quot;GO&quot; onClick=&quot;ajaxRequest(&#039;parse.php&#039;, &#039;val=&#039;+document.getElementById(&#039;myval&#039;).value)&quot; &gt;

Good luck.</description>
		<content:encoded><![CDATA[<p>beachbumdrums,</p>
<p>I&#8217;m not to sure why you get this error. If possible can you run it with FF2 with the Firebug extension? this will give you a better indication of where exactly the error is coming from.</p>
<p>Also, I do not know if this makes any difference, but try changing the ` (funny single quotes which wordpress generates) to proper single quotes. Sometime wordpress changes the code a little.</p>
<p>Finally you could take out the F() function, and place:<br />
< input type="button" value="GO" onClick="ajaxRequest('parse.php', 'val='+document.getElementById('myval').value)" ></p>
<p>Good luck.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

