<?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: Submitting a Contact Form via AJAX From Your Facebook Page</title>
	<atom:link href="http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/feed/" rel="self" type="application/rss+xml" />
	<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/</link>
	<description></description>
	<lastBuildDate>Wed, 31 Mar 2010 14:12:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: George Huger</title>
		<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/comment-page-1/#comment-2284</link>
		<dc:creator>George Huger</dc:creator>
		<pubDate>Wed, 31 Mar 2010 14:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://illuminatikarate.com/blog/?p=297#comment-2284</guid>
		<description>Thank you Fred, that&#039;s great info. I&#039;m going to update the code in this article to note your changes.

Each case has been different, so if you&#039;ve tried the suggestions listed in the comments and are still having trouble, drop me a line at george [at] illuminatikarate.com and I&#039;ll be happy to take a look. Make sure to attach your code as a text file.

@ash - drop me an email and we&#039;ll get it worked out.</description>
		<content:encoded><![CDATA[<p>Thank you Fred, that&#8217;s great info. I&#8217;m going to update the code in this article to note your changes.</p>
<p>Each case has been different, so if you&#8217;ve tried the suggestions listed in the comments and are still having trouble, drop me a line at george [at] illuminatikarate.com and I&#8217;ll be happy to take a look. Make sure to attach your code as a text file.</p>
<p>@ash &#8211; drop me an email and we&#8217;ll get it worked out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred Black</title>
		<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/comment-page-1/#comment-2283</link>
		<dc:creator>Fred Black</dc:creator>
		<pubDate>Wed, 31 Mar 2010 13:36:46 +0000</pubDate>
		<guid isPermaLink="false">http://illuminatikarate.com/blog/?p=297#comment-2283</guid>
		<description>George;
Like some of the comments, I could not get this to work.  Looking at comment #2&#039;s link, which does work, I was able to figure out what&#039;s wrong.

On the facebook page, your example uses a submit button on the form with the onsubmit event calling the JavaScript ajax function.  But this never calls the ajax JavaScript function.  The working page from comment #2 uses the onclick event which does seem to call the JavaScript ajax function.  It also uses a regular input with type set to submit vs. a button object, this would probably work either way as long as the onclick even is used vs. the onsubmit event.

The other thing I found is that, as noted in comment #10, you need the setInnerFBML function in the ajax.ondone event and the setInnerXHTML function when updated the info for the user... BUT - I kept getting a JavaScript error using the single quotes (&#039;) with setinnerXHTML as you have in your example - I changed them to double quotes (&quot;) and the errors went away.

These two changes make it work - at least for me.

Thanks for this information.
Fred</description>
		<content:encoded><![CDATA[<p>George;<br />
Like some of the comments, I could not get this to work.  Looking at comment #2&#8217;s link, which does work, I was able to figure out what&#8217;s wrong.</p>
<p>On the facebook page, your example uses a submit button on the form with the onsubmit event calling the JavaScript ajax function.  But this never calls the ajax JavaScript function.  The working page from comment #2 uses the onclick event which does seem to call the JavaScript ajax function.  It also uses a regular input with type set to submit vs. a button object, this would probably work either way as long as the onclick even is used vs. the onsubmit event.</p>
<p>The other thing I found is that, as noted in comment #10, you need the setInnerFBML function in the ajax.ondone event and the setInnerXHTML function when updated the info for the user&#8230; BUT &#8211; I kept getting a JavaScript error using the single quotes (&#8216;) with setinnerXHTML as you have in your example &#8211; I changed them to double quotes (&#8220;) and the errors went away.</p>
<p>These two changes make it work &#8211; at least for me.</p>
<p>Thanks for this information.<br />
Fred</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ash Blue</title>
		<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/comment-page-1/#comment-2277</link>
		<dc:creator>Ash Blue</dc:creator>
		<pubDate>Wed, 31 Mar 2010 01:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://illuminatikarate.com/blog/?p=297#comment-2277</guid>
		<description>Can&#039;t get this to work, doesn&#039;t even hit the return false when I comment out other code.</description>
		<content:encoded><![CDATA[<p>Can&#8217;t get this to work, doesn&#8217;t even hit the return false when I comment out other code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michaleen</title>
		<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/comment-page-1/#comment-2272</link>
		<dc:creator>Michaleen</dc:creator>
		<pubDate>Tue, 30 Mar 2010 15:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://illuminatikarate.com/blog/?p=297#comment-2272</guid>
		<description>http://www.facebook.com/pages/MicroArts-Development/113528355326941?v=app_4949752878
Trying to get this to work - but I&#039;m banging my head. I don&#039;t see the &#039;submitting your information&#039; message.

Is there a way to NOT have the page re-direct to my site? I&#039;d like to keep it on the Facebook page.</description>
		<content:encoded><![CDATA[<p><a href="http://www.facebook.com/pages/MicroArts-Development/113528355326941?v=app_4949752878" rel="nofollow">http://www.facebook.com/pages/MicroArts-Development/113528355326941?v=app_4949752878</a><br />
Trying to get this to work &#8211; but I&#8217;m banging my head. I don&#8217;t see the &#8217;submitting your information&#8217; message.</p>
<p>Is there a way to NOT have the page re-direct to my site? I&#8217;d like to keep it on the Facebook page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakub</title>
		<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/comment-page-1/#comment-2265</link>
		<dc:creator>Jakub</dc:creator>
		<pubDate>Mon, 29 Mar 2010 20:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://illuminatikarate.com/blog/?p=297#comment-2265</guid>
		<description>hmm it didn`t show the code so here it is:

http://www.ndive.cz/code.doc</description>
		<content:encoded><![CDATA[<p>hmm it didn`t show the code so here it is:</p>
<p><a href="http://www.ndive.cz/code.doc" rel="nofollow">http://www.ndive.cz/code.doc</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakub</title>
		<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/comment-page-1/#comment-2264</link>
		<dc:creator>Jakub</dc:creator>
		<pubDate>Mon, 29 Mar 2010 20:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://illuminatikarate.com/blog/?p=297#comment-2264</guid>
		<description>Hi! Don`t you know what is wrong with my code? I still can`t get ajax submission to work :( after submitting the form browser transfers me to webpage...
- for this example I have deleted the url...

btw: your form_submit.php doesn`t work:
Parse error: syntax error, unexpected &#039;,&#039;, expecting &#039;]&#039; in /home/public_html/form_submit.php  on line 2

============================================


				
		
			
			
				Name:
				
				
				City:
				
	
				Email:
				
				
				Message:
				

		
Submit
     
	
			
			



			
			
		
	
	</description>
		<content:encoded><![CDATA[<p>Hi! Don`t you know what is wrong with my code? I still can`t get ajax submission to work <img src='http://illuminatikarate.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  after submitting the form browser transfers me to webpage&#8230;<br />
- for this example I have deleted the url&#8230;</p>
<p>btw: your form_submit.php doesn`t work:<br />
Parse error: syntax error, unexpected &#8216;,&#8217;, expecting &#8216;]&#8217; in /home/public_html/form_submit.php  on line 2</p>
<p>============================================</p>
<p>				Name:</p>
<p>				City:</p>
<p>				Email:</p>
<p>				Message:</p>
<p>Submit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ash Blue</title>
		<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/comment-page-1/#comment-2262</link>
		<dc:creator>Ash Blue</dc:creator>
		<pubDate>Mon, 29 Mar 2010 19:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://illuminatikarate.com/blog/?p=297#comment-2262</guid>
		<description>Thank God, I&#039;ve been looking for a straight and simple answer on this for months. Thank you so much guys.</description>
		<content:encoded><![CDATA[<p>Thank God, I&#8217;ve been looking for a straight and simple answer on this for months. Thank you so much guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/comment-page-1/#comment-2224</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Wed, 24 Mar 2010 12:32:02 +0000</pubDate>
		<guid isPermaLink="false">http://illuminatikarate.com/blog/?p=297#comment-2224</guid>
		<description>AH BUM!

never worry! My bad.</description>
		<content:encoded><![CDATA[<p>AH BUM!</p>
<p>never worry! My bad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/comment-page-1/#comment-2223</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Wed, 24 Mar 2010 12:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://illuminatikarate.com/blog/?p=297#comment-2223</guid>
		<description>Oops &lt; code . doesnt work the way I expected!


Script

######################



######################

Form


     
          Name:
          
     
     
          Email:
          
     
     Submit

Sending your entry

     



######################

form_submit.php



######################


If you have time to scan I&#039;d be well happy, if not no worries.

Feel free to delete that daft post above!</description>
		<content:encoded><![CDATA[<p>Oops &lt; code . doesnt work the way I expected!</p>
<p>Script</p>
<p>######################</p>
<p>######################</p>
<p>Form</p>
<p>          Name:</p>
<p>          Email:</p>
<p>     Submit</p>
<p>Sending your entry</p>
<p>######################</p>
<p>form_submit.php</p>
<p>######################</p>
<p>If you have time to scan I&#8217;d be well happy, if not no worries.</p>
<p>Feel free to delete that daft post above!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://illuminatikarate.com/blog/submitting-a-contact-form-via-ajax-from-your-facebook-page/comment-page-1/#comment-2222</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Wed, 24 Mar 2010 12:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://illuminatikarate.com/blog/?p=297#comment-2222</guid>
		<description>Hi there George, I too am having issues getting any of the Ajax to work (its submitting tho which is a great start for me)

code is as follows.

&lt;code&gt;



&lt;/code

The html

&lt;code&gt;


     
          Name:
          
     
     
          Email:
          
     
     Submit

Sending your entry

     



&lt;/code&gt;

The submit php

&lt;code&gt;



&lt;/code&gt;

Am sure you are busy but wondered if I was doing anything stupid?

Thanks for the tutorial!

Nate</description>
		<content:encoded><![CDATA[<p>Hi there George, I too am having issues getting any of the Ajax to work (its submitting tho which is a great start for me)</p>
<p>code is as follows.</p>
<p><code></p>
<p>&lt;/code</p>
<p>The html</p>
<p></code><code></p>
<p>          Name:</p>
<p>          Email:</p>
<p>     Submit</p>
<p>Sending your entry</p>
<p></code></p>
<p>The submit php</p>
<p><code></p>
<p></code></p>
<p>Am sure you are busy but wondered if I was doing anything stupid?</p>
<p>Thanks for the tutorial!</p>
<p>Nate</p>
]]></content:encoded>
	</item>
</channel>
</rss>
