<?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: How To Create Your Own Ajax Contact Form</title>
	<atom:link href="http://tutorialblog.org/how-to-create-your-own-ajax-contact-form/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutorialblog.org/how-to-create-your-own-ajax-contact-form/</link>
	<description>High Quality Photoshop Tutorials, Tips and other Great Things...</description>
	<lastBuildDate>Thu, 19 Nov 2009 00:28:25 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: keco - </title>
		<link>http://tutorialblog.org/how-to-create-your-own-ajax-contact-form/comment-page-1/#comment-24913</link>
		<dc:creator>keco - </dc:creator>
		<pubDate>Thu, 06 Nov 2008 06:12:34 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialblog.org/?p=2195#comment-24913</guid>
		<description>Hi... Thanks to you. Your post solved my problem with jquery.</description>
		<content:encoded><![CDATA[<p>Hi&#8230; Thanks to you. Your post solved my problem with jquery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashvin - http://www.islanzilla.com</title>
		<link>http://tutorialblog.org/how-to-create-your-own-ajax-contact-form/comment-page-1/#comment-24825</link>
		<dc:creator>ashvin - http://www.islanzilla.com</dc:creator>
		<pubDate>Thu, 30 Oct 2008 17:57:47 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialblog.org/?p=2195#comment-24825</guid>
		<description>Theres a typing error in:
&quot;
Step 2 - The PHP

&lt;?php
//declare our variables
$name = $_GET[&#039;name&#039;];
$email = $_GET[&#039;email&#039;];
$message = $_GET[&#039;comment&#039;];
&quot;

$message should have been $comment.

Nice tut. Thanx.</description>
		<content:encoded><![CDATA[<p>Theres a typing error in:<br />
&#8221;<br />
Step 2 &#8211; The PHP</p>
<p>&lt;?php<br />
//declare our variables<br />
$name = $_GET['name'];<br />
$email = $_GET['email'];<br />
$message = $_GET['comment'];<br />
&#8221;</p>
<p>$message should have been $comment.</p>
<p>Nice tut. Thanx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Synthe - </title>
		<link>http://tutorialblog.org/how-to-create-your-own-ajax-contact-form/comment-page-1/#comment-24818</link>
		<dc:creator>Synthe - </dc:creator>
		<pubDate>Tue, 28 Oct 2008 15:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialblog.org/?p=2195#comment-24818</guid>
		<description>If one wanted to use $_POST in their php the jquery code would be:

$.ajax({
  type: &#039;post&#039;,
  url: &#039;mail.php&#039;,
  data: &#039;name=&#039; + $(&#039;#name&#039;).val() +
        &#039;&amp;email=&#039; + $(&#039;#email&#039;).val() +
        &#039;&amp;comment=&#039; + $(&#039;#message&#039;).val()},
  success: function(data){
    $(&#039;.bar&#039;).css({display:&#039;none&#039;});
    $(&#039;.loader&#039;).append(data);
    return false;
  }
});

Using post would leave a fallback option if someone had javascript turned off and they clicked submit (the return false wouldn&#039;t go through and the form action would run).  You would also have to change the form method to post.</description>
		<content:encoded><![CDATA[<p>If one wanted to use $_POST in their php the jquery code would be:</p>
<p>$.ajax({<br />
  type: &#8216;post&#8217;,<br />
  url: &#8216;mail.php&#8217;,<br />
  data: &#8216;name=&#8217; + $(&#8217;#name&#8217;).val() +<br />
        &#8216;&amp;email=&#8217; + $(&#8217;#email&#8217;).val() +<br />
        &#8216;&amp;comment=&#8217; + $(&#8217;#message&#8217;).val()},<br />
  success: function(data){<br />
    $(&#8217;.bar&#8217;).css({display:&#8217;none&#8217;});<br />
    $(&#8217;.loader&#8217;).append(data);<br />
    return false;<br />
  }<br />
});</p>
<p>Using post would leave a fallback option if someone had javascript turned off and they clicked submit (the return false wouldn&#8217;t go through and the form action would run).  You would also have to change the form method to post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip Beel - http://</title>
		<link>http://tutorialblog.org/how-to-create-your-own-ajax-contact-form/comment-page-1/#comment-24816</link>
		<dc:creator>Philip Beel - http://</dc:creator>
		<pubDate>Tue, 28 Oct 2008 12:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialblog.org/?p=2195#comment-24816</guid>
		<description>Hi Monkeytail, here we are using a submit function, which catches the form before it goes anywhere, so the post is ignored, however I can see why this would look confusing. The $.get() specifies a method of GET when the ajax request is fired, thus we use the $_GET global var in mail.php to capture the info. Thanks for the question</description>
		<content:encoded><![CDATA[<p>Hi Monkeytail, here we are using a submit function, which catches the form before it goes anywhere, so the post is ignored, however I can see why this would look confusing. The $.get() specifies a method of GET when the ajax request is fired, thus we use the $_GET global var in mail.php to capture the info. Thanks for the question</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monkeytail - </title>
		<link>http://tutorialblog.org/how-to-create-your-own-ajax-contact-form/comment-page-1/#comment-24815</link>
		<dc:creator>Monkeytail - </dc:creator>
		<pubDate>Tue, 28 Oct 2008 12:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialblog.org/?p=2195#comment-24815</guid>
		<description>The form attr method got a value of post..the global vars used in the php file are $_GET.. why?</description>
		<content:encoded><![CDATA[<p>The form attr method got a value of post..the global vars used in the php file are $_GET.. why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthea - </title>
		<link>http://tutorialblog.org/how-to-create-your-own-ajax-contact-form/comment-page-1/#comment-24814</link>
		<dc:creator>Anthea - </dc:creator>
		<pubDate>Tue, 28 Oct 2008 00:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialblog.org/?p=2195#comment-24814</guid>
		<description>Next step is to add some kind of validation, like another field that validates based on a question you ask the user.

Sweet &amp; simple tutorial for a very basic form...</description>
		<content:encoded><![CDATA[<p>Next step is to add some kind of validation, like another field that validates based on a question you ask the user.</p>
<p>Sweet &amp; simple tutorial for a very basic form&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
