<?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: Edit in place with JQuery and CakePHP</title>
	<atom:link href="http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:12:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/comment-page-3/#comment-233386</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Sat, 22 Oct 2011 14:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/#comment-233386</guid>
		<description>@LOL: Hm, difficult to say what the problem is. Are there any errors shown in the JavaScript console of your browser? And did you check with a tool like Firebug whether there is a request made?

Hope this helps!</description>
		<content:encoded><![CDATA[<p>@LOL: Hm, difficult to say what the problem is. Are there any errors shown in the JavaScript console of your browser? And did you check with a tool like Firebug whether there is a request made?</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LOL</title>
		<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/comment-page-2/#comment-231927</link>
		<dc:creator>LOL</dc:creator>
		<pubDate>Wed, 19 Oct 2011 03:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/#comment-231927</guid>
		<description>This tutorial does not work for me
I have the same code, the same versions of jquery and jeditable but  does not work.
database and the title is not updated

please any idea??

thanks</description>
		<content:encoded><![CDATA[<p>This tutorial does not work for me<br />
I have the same code, the same versions of jquery and jeditable but  does not work.<br />
database and the title is not updated</p>
<p>please any idea??</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/comment-page-2/#comment-218552</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Thu, 25 Aug 2011 13:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/#comment-218552</guid>
		<description>@developer: I don&#039;t know how to accomplish this, but maybe the following article helps: &lt;a href=&quot;http://www.makina-corpus.org/blog/howto-create-complex-editable-fields-jeditable-and-make-it-sending-all-form-content&quot; rel=&quot;nofollow&quot;&gt;Howto create complex editable fields with JEditable and make it sending all form content&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@developer: I don&#8217;t know how to accomplish this, but maybe the following article helps: <a href="http://www.makina-corpus.org/blog/howto-create-complex-editable-fields-jeditable-and-make-it-sending-all-form-content" rel="nofollow">Howto create complex editable fields with JEditable and make it sending all form content</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: developer</title>
		<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/comment-page-2/#comment-218208</link>
		<dc:creator>developer</dc:creator>
		<pubDate>Mon, 22 Aug 2011 10:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/#comment-218208</guid>
		<description>hey its a nice tutorial..

i want to use the same for editing multiple field at the same time.

I mean when a user clicks on edit button , all the field of that row shd be able to update values. and on click all shd be saved.

I tried it with the code. bt dint get succes..

pls help me with the same.</description>
		<content:encoded><![CDATA[<p>hey its a nice tutorial..</p>
<p>i want to use the same for editing multiple field at the same time.</p>
<p>I mean when a user clicks on edit button , all the field of that row shd be able to update values. and on click all shd be saved.</p>
<p>I tried it with the code. bt dint get succes..</p>
<p>pls help me with the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Problem integrating jeditable in cakephp. - Programmers Goodies</title>
		<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/comment-page-2/#comment-216896</link>
		<dc:creator>Problem integrating jeditable in cakephp. - Programmers Goodies</dc:creator>
		<pubDate>Wed, 10 Aug 2011 02:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/#comment-216896</guid>
		<description>[...] can go with this for your more [...]</description>
		<content:encoded><![CDATA[<p>[...] can go with this for your more [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/comment-page-2/#comment-200910</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Fri, 20 May 2011 14:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/#comment-200910</guid>
		<description>@Nick: The SQL call is not necessary. You can reset the text field in your &quot;onerror&quot; callback function like:
&lt;code&gt;
onerror : function(settings, original, xhr) {
    original.reset();
}
&lt;/code&gt;

I hope this answers your question.</description>
		<content:encoded><![CDATA[<p>@Nick: The SQL call is not necessary. You can reset the text field in your &#8220;onerror&#8221; callback function like:<br />
<pre><code>onerror : function(settings, original, xhr) {
    original.reset();
}</code></pre>
<p>I hope this answers your question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/comment-page-2/#comment-200822</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Thu, 19 May 2011 16:20:01 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/#comment-200822</guid>
		<description>@cakebaker: that was it, I had a spelling error. Thought I double checked that. Thanks.

Another question that was touched above a little bit, how is error handling accomplished? I am doing data validation, etc, but when there is an error, how can I return the original value back to the screen? I got a function working to pop up a flash message stating there was an error, I just can&#039;t get the original data back into the field (I am currently doing a SQL call to pull the original value, but that seems like a waste as the data already exists).</description>
		<content:encoded><![CDATA[<p>@cakebaker: that was it, I had a spelling error. Thought I double checked that. Thanks.</p>
<p>Another question that was touched above a little bit, how is error handling accomplished? I am doing data validation, etc, but when there is an error, how can I return the original value back to the screen? I got a function working to pop up a flash message stating there was an error, I just can&#8217;t get the original data back into the field (I am currently doing a SQL call to pull the original value, but that seems like a waste as the data already exists).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/comment-page-2/#comment-200808</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Thu, 19 May 2011 14:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/#comment-200808</guid>
		<description>@Nick: It sounds like the jeditable plugin is not loaded. Check the generated HTML whether it contains a script tag like
&lt;pre&gt;
&lt;code&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jquery.jeditable.mini.js&quot;&gt;&lt;/script&gt;
&lt;/code&gt;
&lt;/pre&gt;
and make sure the linked file exists.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>@Nick: It sounds like the jeditable plugin is not loaded. Check the generated HTML whether it contains a script tag like</p>
<pre>
<code>&lt;script type="text/javascript" src="/js/jquery.jeditable.mini.js"&gt;&lt;/script&gt;</code>
</pre>
<p>and make sure the linked file exists.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/comment-page-2/#comment-200726</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 18 May 2011 17:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/#comment-200726</guid>
		<description>I have added this to my site, but I get an error in Javascript:

&quot;Error: $(&quot;.click&quot;).editable is not a function
Source File: #link removed#
Line: 367&quot;

I changed it to .post to make it exactly like the example above, but that did not help. Any idea why click would be undefined? I have the JS properly setup in the source as follows:



$(document).ready(function() {
    $(&#039;.click&#039;).editable(&#039;/projects/jeditable/php/echo.php&#039;, {
        id : &#039;budget_145&#039;,
        name : &#039;amount&#039;
    });
});



$6,600.00



Ideas? Thanks for the help.</description>
		<content:encoded><![CDATA[<p>I have added this to my site, but I get an error in Javascript:</p>
<p>&#8220;Error: $(&#8220;.click&#8221;).editable is not a function<br />
Source File: #link removed#<br />
Line: 367&#8243;</p>
<p>I changed it to .post to make it exactly like the example above, but that did not help. Any idea why click would be undefined? I have the JS properly setup in the source as follows:</p>
<p>$(document).ready(function() {<br />
    $(&#8216;.click&#8217;).editable(&#8216;/projects/jeditable/php/echo.php&#8217;, {<br />
        id : &#8216;budget_145&#8242;,<br />
        name : &#8216;amount&#8217;<br />
    });<br />
});</p>
<p>$6,600.00</p>
<p>Ideas? Thanks for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/comment-page-2/#comment-196426</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Sat, 02 Apr 2011 15:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/#comment-196426</guid>
		<description>nice trick! :) thx</description>
		<content:encoded><![CDATA[<p>nice trick! :) thx</p>
]]></content:encoded>
	</item>
</channel>
</rss>

