<?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: PHP/AJAX: Call PHP function by clicking a link</title>
	<atom:link href="http://chriscook.me/web-development/phpajax-execute-php-function-by-clicking-a-link/feed/" rel="self" type="application/rss+xml" />
	<link>http://chriscook.me/web-development/phpajax-execute-php-function-by-clicking-a-link/</link>
	<description>Homepage</description>
	<lastBuildDate>Wed, 02 May 2012 17:37:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Jerry Kornbluth</title>
		<link>http://chriscook.me/web-development/phpajax-execute-php-function-by-clicking-a-link/comment-page-1/#comment-902</link>
		<dc:creator>Jerry Kornbluth</dc:creator>
		<pubDate>Wed, 02 May 2012 17:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://chriscook.me/?p=46#comment-902</guid>
		<description>Hi Chris,

Your short script is a real help and is working fine.

Because I&#039;m implementing this inside an  tag in a Galleria image viewer, I can not use any double quotes in the onclick call. 

On a simple test page, (no  tags) when I replace only one set of the double quotes, it works OK:

Click Here

However when I replace the double quotes around the onclick call as well, like this:

Click Here

It won&#039;t work. I also tried &quot; and that won&#039;t work either.

Any ideas?

Thanks,

Jerry Kornbluth</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>Your short script is a real help and is working fine.</p>
<p>Because I&#8217;m implementing this inside an  tag in a Galleria image viewer, I can not use any double quotes in the onclick call. </p>
<p>On a simple test page, (no  tags) when I replace only one set of the double quotes, it works OK:</p>
<p>Click Here</p>
<p>However when I replace the double quotes around the onclick call as well, like this:</p>
<p>Click Here</p>
<p>It won&#8217;t work. I also tried &quot; and that won&#8217;t work either.</p>
<p>Any ideas?</p>
<p>Thanks,</p>
<p>Jerry Kornbluth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spinning side</title>
		<link>http://chriscook.me/web-development/phpajax-execute-php-function-by-clicking-a-link/comment-page-1/#comment-320</link>
		<dc:creator>Spinning side</dc:creator>
		<pubDate>Fri, 29 Apr 2011 16:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://chriscook.me/?p=46#comment-320</guid>
		<description>You illuminated me, I was very lost with AJAX, i&#039;m using it in www.forospinning.com/musica for voting the favorite songs. Now I added the location.reload(); after the send() but it scrolls the page up. Is there any way to reload keeping the scrolling position? like location.reload(#anchor); or something?

Thankyou</description>
		<content:encoded><![CDATA[<p>You illuminated me, I was very lost with AJAX, i&#8217;m using it in <a href="http://www.forospinning.com/musica" rel="nofollow">http://www.forospinning.com/musica</a> for voting the favorite songs. Now I added the location.reload(); after the send() but it scrolls the page up. Is there any way to reload keeping the scrolling position? like location.reload(#anchor); or something?</p>
<p>Thankyou</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iain Munro</title>
		<link>http://chriscook.me/web-development/phpajax-execute-php-function-by-clicking-a-link/comment-page-1/#comment-272</link>
		<dc:creator>Iain Munro</dc:creator>
		<pubDate>Fri, 25 Mar 2011 14:57:33 +0000</pubDate>
		<guid isPermaLink="false">http://chriscook.me/?p=46#comment-272</guid>
		<description>Morning

Should that be ajax_click.js instead of ajax_link.js in the HTML code ?

Iain</description>
		<content:encoded><![CDATA[<p>Morning</p>
<p>Should that be ajax_click.js instead of ajax_link.js in the HTML code ?</p>
<p>Iain</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devin Walker</title>
		<link>http://chriscook.me/web-development/phpajax-execute-php-function-by-clicking-a-link/comment-page-1/#comment-196</link>
		<dc:creator>Devin Walker</dc:creator>
		<pubDate>Tue, 26 Oct 2010 22:29:23 +0000</pubDate>
		<guid isPermaLink="false">http://chriscook.me/?p=46#comment-196</guid>
		<description>Very Helpful thanks!</description>
		<content:encoded><![CDATA[<p>Very Helpful thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

