<?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 in WP Plugins Using jQuery</title>
	<atom:link href="http://brian.fegter.com/blog/wordpress-ajax-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://brian.fegter.com/blog/wordpress-ajax-programming/</link>
	<description></description>
	<lastBuildDate>Fri, 11 Jun 2010 15:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Richard Cowan</title>
		<link>http://brian.fegter.com/blog/wordpress-ajax-programming/#comment-177</link>
		<dc:creator>Richard Cowan</dc:creator>
		<pubDate>Fri, 11 Jun 2010 15:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://brian.fegter.com/code/130/#comment-177</guid>
		<description>Hi Brian

I am trying to use your code above and change it to get results from a database. So far I can get the page to call the database and display the results in another page but I want teh results to display in the ajaxResponse.

If I sent you the code could you have a look and see if there is anything obviously wrong. I think where I am going wrong is this bit in the .js file
&lt;code&gt;
          $.ajax({   
                    url: &quot;http://www.newcastleac.org/?page=526&quot;,   
                    type: &#039;GET&#039;,   
                    data: &quot;myName=&quot; + myName + &quot;&amp;mySubmit=&quot; + mySubmit,   
  
                    success: function(result) {   
                          $(&#039;#ajaxResponse&#039;).append(result);   
                        } 
&lt;/code&gt;

Currently it loads the whole page into the ajax response.

I appreciate the time if you can have a quick look</description>
		<content:encoded><![CDATA[<p>Hi Brian</p>
<p>I am trying to use your code above and change it to get results from a database. So far I can get the page to call the database and display the results in another page but I want teh results to display in the ajaxResponse.</p>
<p>If I sent you the code could you have a look and see if there is anything obviously wrong. I think where I am going wrong is this bit in the .js file<br />
<code><br />
          $.ajax({<br />
                    url: "http://www.newcastleac.org/?page=526",<br />
                    type: 'GET',<br />
                    data: "myName=" + myName + "&amp;mySubmit=" + mySubmit,   </p>
<p>                    success: function(result) {<br />
                          $('#ajaxResponse').append(result);<br />
                        }<br />
</code></p>
<p>Currently it loads the whole page into the ajax response.</p>
<p>I appreciate the time if you can have a quick look</p>
]]></content:encoded>
	</item>
</channel>
</rss>
