<?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 Edit In Place with Yahoo UI API</title>
	<atom:link href="http://elliottback.com/wp/ajax-edit-in-place-with-yahoo-ui-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://elliottback.com/wp/ajax-edit-in-place-with-yahoo-ui-api/</link>
	<description>Internet &#38; Technology</description>
	<lastBuildDate>Sun, 22 Nov 2009 02:40:56 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Elliott Back</title>
		<link>http://elliottback.com/wp/ajax-edit-in-place-with-yahoo-ui-api/#comment-2187395</link>
		<dc:creator>Elliott Back</dc:creator>
		<pubDate>Sun, 05 Jul 2009 19:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://elliottback.com/wp/archives/2007/02/09/ajax-edit-in-place-with-yahoo-ui-api/#comment-2187395</guid>
		<description>Yeah, this code is pretty old.  I would probably be able to do it in a much nicer way in Jquery.</description>
		<content:encoded><![CDATA[<p>Yeah, this code is pretty old.  I would probably be able to do it in a much nicer way in Jquery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joao</title>
		<link>http://elliottback.com/wp/ajax-edit-in-place-with-yahoo-ui-api/#comment-2187394</link>
		<dc:creator>Joao</dc:creator>
		<pubDate>Sun, 05 Jul 2009 18:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://elliottback.com/wp/archives/2007/02/09/ajax-edit-in-place-with-yahoo-ui-api/#comment-2187394</guid>
		<description>Hello Leite,

I would also prefer to stick with YUI only solution. Do you have any tips ?

Thanks
Joao</description>
		<content:encoded><![CDATA[<p>Hello Leite,</p>
<p>I would also prefer to stick with YUI only solution. Do you have any tips ?</p>
<p>Thanks<br />
Joao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://elliottback.com/wp/ajax-edit-in-place-with-yahoo-ui-api/#comment-2184090</link>
		<dc:creator>George</dc:creator>
		<pubDate>Fri, 05 Jun 2009 05:16:01 +0000</pubDate>
		<guid isPermaLink="false">http://elliottback.com/wp/archives/2007/02/09/ajax-edit-in-place-with-yahoo-ui-api/#comment-2184090</guid>
		<description>Hello! I have followed all the instructions here, but I don&#039;t get to work the SQL UPDATE, I would appreciate if anybody can give me some help:

$value = urldecode($_POST[&#039;value&#039;]);
$bits = preg_split(&#039;[-]&#039;, $_POST[&#039;target&#039;], -1);
$field = $bits[0];
$id = $bits[1];

switch($field) {
	case &#039;title&#039;:
		$object-&gt;UpdatePostTitle($id, $value);
		break;
	case &#039;description&#039;:
		$object-&gt;UpdatePostDescription($id, $value);
		break;
}

$updateData= &quot;UPDATE table SET table_field=&#039;&quot;.$value.&quot;&#039; WHERE id=&#039;&quot;.$id.&quot;&#039;&quot;;
mysql_query($updateData);</description>
		<content:encoded><![CDATA[<p>Hello! I have followed all the instructions here, but I don&#8217;t get to work the SQL UPDATE, I would appreciate if anybody can give me some help:</p>
<p>$value = urldecode($_POST['value']);<br />
$bits = preg_split(&#8217;[-]&#8216;, $_POST['target'], -1);<br />
$field = $bits[0];<br />
$id = $bits[1];</p>
<p>switch($field) {<br />
	case &#8216;title&#8217;:<br />
		$object-&gt;UpdatePostTitle($id, $value);<br />
		break;<br />
	case &#8216;description&#8217;:<br />
		$object-&gt;UpdatePostDescription($id, $value);<br />
		break;<br />
}</p>
<p>$updateData= &#8220;UPDATE table SET table_field=&#8217;&#8221;.$value.&#8221;&#8216; WHERE id=&#8217;&#8221;.$id.&#8221;&#8216;&#8221;;<br />
mysql_query($updateData);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: francisco</title>
		<link>http://elliottback.com/wp/ajax-edit-in-place-with-yahoo-ui-api/#comment-2167136</link>
		<dc:creator>francisco</dc:creator>
		<pubDate>Fri, 14 Nov 2008 19:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://elliottback.com/wp/archives/2007/02/09/ajax-edit-in-place-with-yahoo-ui-api/#comment-2167136</guid>
		<description>esto no funciona en IE&lt;br&gt;l</description>
		<content:encoded><![CDATA[<p>esto no funciona en IE<br />l</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brenton</title>
		<link>http://elliottback.com/wp/ajax-edit-in-place-with-yahoo-ui-api/#comment-1802332</link>
		<dc:creator>Brenton</dc:creator>
		<pubDate>Thu, 03 Jul 2008 08:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://elliottback.com/wp/archives/2007/02/09/ajax-edit-in-place-with-yahoo-ui-api/#comment-1802332</guid>
		<description>Sorry for the multiple comments.  I was having issues with your server.  You can delete the other messages.

I rolled my own based on your code to make it deployable on Facebook.  It seems to work better if I convert \n to \\n for the upload field, and then back to \n for the text area.  Otherwise, the text area doesn&#039;t seem to receive any text after a newline character.  Also, adding a  tag to your preview would make the newlines display properly in-browser.</description>
		<content:encoded><![CDATA[<p>Sorry for the multiple comments.  I was having issues with your server.  You can delete the other messages.</p>
<p>I rolled my own based on your code to make it deployable on Facebook.  It seems to work better if I convert \n to \\n for the upload field, and then back to \n for the text area.  Otherwise, the text area doesn&#8217;t seem to receive any text after a newline character.  Also, adding a  tag to your preview would make the newlines display properly in-browser.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
