<?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: Add Drupal Forms using AJAX</title>
	<atom:link href="http://www.kurtjarchow.com/2009/01/28/add-drupal-forms-using-ajax-jquer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kurtjarchow.com/2009/01/28/add-drupal-forms-using-ajax-jquer/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 22 Jul 2010 15:19:47 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kurt Jarchow</title>
		<link>http://www.kurtjarchow.com/2009/01/28/add-drupal-forms-using-ajax-jquer/comment-page-1/#comment-417</link>
		<dc:creator>Kurt Jarchow</dc:creator>
		<pubDate>Sun, 28 Feb 2010 14:02:28 +0000</pubDate>
		<guid isPermaLink="false">http://jarchowk.wordpress.com/?p=125#comment-417</guid>
		<description>I didn&#039;t delete it, just didn&#039;t get a chance to approve it yet.  Despite adding many spam blockers they seem to still flood my comments.

Replace this.url with the url of your form.  this.url will actually only work if you are using a link.  

Yes, the form should be submit without refreshing the page.

Let me know how it goes!</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t delete it, just didn&#8217;t get a chance to approve it yet.  Despite adding many spam blockers they seem to still flood my comments.</p>
<p>Replace this.url with the url of your form.  this.url will actually only work if you are using a link.  </p>
<p>Yes, the form should be submit without refreshing the page.</p>
<p>Let me know how it goes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.kurtjarchow.com/2009/01/28/add-drupal-forms-using-ajax-jquer/comment-page-1/#comment-410</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 22 Feb 2010 13:24:07 +0000</pubDate>
		<guid isPermaLink="false">http://jarchowk.wordpress.com/?p=125#comment-410</guid>
		<description>Hi, I left a comment here a couple of days ago. Why did you delete it?</description>
		<content:encoded><![CDATA[<p>Hi, I left a comment here a couple of days ago. Why did you delete it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.kurtjarchow.com/2009/01/28/add-drupal-forms-using-ajax-jquer/comment-page-1/#comment-409</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 21 Feb 2010 14:21:42 +0000</pubDate>
		<guid isPermaLink="false">http://jarchowk.wordpress.com/?p=125#comment-409</guid>
		<description>Hi Kurt,


I&#039;m trying to follow your example and I achieved to display the form via AJAX. But then the problem comes when hitting the &quot;Submit&quot; button. It jumps to the &#039;url&#039; that I indicated in the ajax call.

In your code you have this.href  ¿What exactly is that url?

What happens in your case when you hit &quot;submit&quot;.. stays in the same webpage (as Facebook comments, or jumps/refresh the page?)

I know that this post is 1 year ago and probably you don&#039;t remember anymore about it, but it will be a great help. Thanks</description>
		<content:encoded><![CDATA[<p>Hi Kurt,</p>
<p>I&#8217;m trying to follow your example and I achieved to display the form via AJAX. But then the problem comes when hitting the &#8220;Submit&#8221; button. It jumps to the &#8216;url&#8217; that I indicated in the ajax call.</p>
<p>In your code you have this.href  ¿What exactly is that url?</p>
<p>What happens in your case when you hit &#8220;submit&#8221;.. stays in the same webpage (as Facebook comments, or jumps/refresh the page?)</p>
<p>I know that this post is 1 year ago and probably you don&#8217;t remember anymore about it, but it will be a great help. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jarchowk</title>
		<link>http://www.kurtjarchow.com/2009/01/28/add-drupal-forms-using-ajax-jquer/comment-page-1/#comment-28</link>
		<dc:creator>jarchowk</dc:creator>
		<pubDate>Mon, 20 Apr 2009 00:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://jarchowk.wordpress.com/?p=125#comment-28</guid>
		<description>Hi Chad,

Sorry I took a hiatus from my blog for a while.  That block of code will return the content type as json for your jquery to read

It&#039;ll return the var $html.  Actually that might be a bit confusing since the $html is actually the $form.

If its after the return in your form function, it will not be hit, and the function will return normally.</description>
		<content:encoded><![CDATA[<p>Hi Chad,</p>
<p>Sorry I took a hiatus from my blog for a while.  That block of code will return the content type as json for your jquery to read</p>
<p>It&#8217;ll return the var $html.  Actually that might be a bit confusing since the $html is actually the $form.</p>
<p>If its after the return in your form function, it will not be hit, and the function will return normally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad</title>
		<link>http://www.kurtjarchow.com/2009/01/28/add-drupal-forms-using-ajax-jquer/comment-page-1/#comment-29</link>
		<dc:creator>Chad</dc:creator>
		<pubDate>Thu, 16 Apr 2009 15:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://jarchowk.wordpress.com/?p=125#comment-29</guid>
		<description>Kurt,

Thanks for the post, I was wondering if you could explain this statement in more detail?

&quot;Add this code just before the _page exits (but not after the exit(); !).&quot;

I&#039;m struggling with where I should where to place that code so only the json will be returned.  Thanks!</description>
		<content:encoded><![CDATA[<p>Kurt,</p>
<p>Thanks for the post, I was wondering if you could explain this statement in more detail?</p>
<p>&#8220;Add this code just before the _page exits (but not after the exit(); !).&#8221;</p>
<p>I&#8217;m struggling with where I should where to place that code so only the json will be returned.  Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
