<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: CakePHP jQuery Ajax Helper (Easy Scriptaculous Replacement)</title>
	<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/</link>
	<description>A Web Development Company Specializing In Standard-Based Web Design and the CakePHP Framework.</description>
	<pubDate>Sat, 31 Jul 2010 08:08:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Creating Ajax form in Cakephp using jQuery &#124; DevArticles.In</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-13578</link>
		<dc:creator>Creating Ajax form in Cakephp using jQuery &#124; DevArticles.In</dc:creator>
		<pubDate>Sat, 05 Jun 2010 07:58:57 +0000</pubDate>
		<guid>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-13578</guid>
		<description>[...] you may find some good jQuery Ajax Helpers for Cakephp around (Here is one although i have&#8217;t tried it yet) i still use the jQuery&#8217;s conventional ajaxForm plugin [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] you may find some good jQuery Ajax Helpers for Cakephp around (Here is one although i have&#8217;t tried it yet) i still use the jQuery&#8217;s conventional ajaxForm plugin [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filippo Bersani</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-12337</link>
		<dc:creator>Filippo Bersani</dc:creator>
		<pubDate>Wed, 24 Mar 2010 12:02:01 +0000</pubDate>
		<guid>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-12337</guid>
		<description>/*
to avoid to print the invalid xhtml attribute eg. update="id_2_update" modify your downloaded Ajax.php file and add this code after line 111
*/
if(isset($htmlOptions['update'])){
	unset($htmlOptions['update']);
}</description>
		<content:encoded><![CDATA[<p>/*<br />
to avoid to print the invalid xhtml attribute eg. update=&#8221;id_2_update&#8221; modify your downloaded Ajax.php file and add this code after line 111<br />
*/<br />
if(isset($htmlOptions[&#8217;update&#8217;])){<br />
	unset($htmlOptions[&#8217;update&#8217;]);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matth</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-12238</link>
		<dc:creator>Matth</dc:creator>
		<pubDate>Fri, 19 Mar 2010 14:48:39 +0000</pubDate>
		<guid>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-12238</guid>
		<description>This is the best page on the entire internet. Thank you.</description>
		<content:encoded><![CDATA[<p>This is the best page on the entire internet. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Apadoca</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-12035</link>
		<dc:creator>Apadoca</dc:creator>
		<pubDate>Fri, 12 Mar 2010 00:32:16 +0000</pubDate>
		<guid>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-12035</guid>
		<description>On the Chrome problem for XML, for me worked:
[code]
$options['beforeSend'] = "request.setRequestHeader('X-Update', '{$update}'); request.setRequestHeader( 'Content-type', 'text/plain');";
[/code];</description>
		<content:encoded><![CDATA[<p>On the Chrome problem for XML, for me worked:<br />
[code]<br />
$options[&#8217;beforeSend&#8217;] = &#8220;request.setRequestHeader(&#8217;X-Update&#8217;, &#8216;{$update}&#8217;); request.setRequestHeader( &#8216;Content-type&#8217;, &#8216;text/plain&#8217;);&#8221;;<br />
[/code];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-11645</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Wed, 24 Feb 2010 06:33:57 +0000</pubDate>
		<guid>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-11645</guid>
		<description>On the Chrome problem for XML, for me worked:
[code]
$options['beforeSend'] = "request.setRequestHeader('X-Update', '{$update}'); request.setRequestHeader( 'Content-type', 'text/plain');";
[/code]</description>
		<content:encoded><![CDATA[<p>On the Chrome problem for XML, for me worked:<br />
[code]<br />
$options[&#8217;beforeSend&#8217;] = &#8220;request.setRequestHeader(&#8217;X-Update&#8217;, &#8216;{$update}&#8217;); request.setRequestHeader( &#8216;Content-type&#8217;, &#8216;text/plain&#8217;);&#8221;;<br />
[/code]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Степан</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-10751</link>
		<dc:creator>Степан</dc:creator>
		<pubDate>Thu, 14 Jan 2010 09:29:22 +0000</pubDate>
		<guid>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-10751</guid>
		<description>Удачи вам! Я думаю у вас все получится :)</description>
		<content:encoded><![CDATA[<p>Удачи вам! Я думаю у вас все получится <img src='http://blog.loadsys.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-10750</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Thu, 14 Jan 2010 08:40:16 +0000</pubDate>
		<guid>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-10750</guid>
		<description>PS: your blog removes my html</description>
		<content:encoded><![CDATA[<p>PS: your blog removes my html</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-10749</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Thu, 14 Jan 2010 08:38:48 +0000</pubDate>
		<guid>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-10749</guid>
		<description>When I put the form into a div it send it twice. But when I remove the div "new_profile" it works fine:

  $(document).ready(function(){    
    $("#link_add_profile").click(function () {
      $(".new_profile").toggle("slow");
    });

  });
  
echo $ajax-&#62;link(__('add Proflie', true), '', array('id' =&#62; 'link_add_profile'));?&#62;
 
form('test', 'post', array('model' =&#62; 'Test', 'url' =&#62; '/tests/test1/', 'update' =&#62; 'myProfile'));
echo $form-&#62;input('Profile.city');
echo $form-&#62;end('Submit');
?&#62;

</description>
		<content:encoded><![CDATA[<p>When I put the form into a div it send it twice. But when I remove the div &#8220;new_profile&#8221; it works fine:</p>
<p>  $(document).ready(function(){<br />
    $(&#8221;#link_add_profile&#8221;).click(function () {<br />
      $(&#8221;.new_profile&#8221;).toggle(&#8221;slow&#8221;);<br />
    });</p>
<p>  });</p>
<p>echo $ajax-&gt;link(__(&#8217;add Proflie&#8217;, true), &#8221;, array(&#8217;id&#8217; =&gt; &#8216;link_add_profile&#8217;));?&gt;</p>
<p>form(&#8217;test&#8217;, &#8216;post&#8217;, array(&#8217;model&#8217; =&gt; &#8216;Test&#8217;, &#8216;url&#8217; =&gt; &#8216;/tests/test1/&#8217;, &#8216;update&#8217; =&gt; &#8216;myProfile&#8217;));<br />
echo $form-&gt;input(&#8217;Profile.city&#8217;);<br />
echo $form-&gt;end(&#8217;Submit&#8217;);<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naka</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-10322</link>
		<dc:creator>Naka</dc:creator>
		<pubDate>Tue, 29 Dec 2009 00:57:02 +0000</pubDate>
		<guid>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-10322</guid>
		<description>I had this error.
Notice (1024): XML cannot be read 

and I tried to use above replacement. but it was not enough for me. 

then, I use this.

$options['beforeSend'] = "request.setRequestHeader('X-Update', '{$update}');request.setRequestHeader('Content-type','application/x-www-form-urlencoded');";

Thank you.</description>
		<content:encoded><![CDATA[<p>I had this error.<br />
Notice (1024): XML cannot be read </p>
<p>and I tried to use above replacement. but it was not enough for me. </p>
<p>then, I use this.</p>
<p>$options[&#8217;beforeSend&#8217;] = &#8220;request.setRequestHeader(&#8217;X-Update&#8217;, &#8216;{$update}&#8217;);request.setRequestHeader(&#8217;Content-type&#8217;,'application/x-www-form-urlencoded&#8217;);&#8221;;</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Linus Oleander</title>
		<link>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-10296</link>
		<dc:creator>Linus Oleander</dc:creator>
		<pubDate>Mon, 28 Dec 2009 02:58:31 +0000</pubDate>
		<guid>http://blog.loadsys.com/2009/05/01/cakephp-jquery-ajax-helper-easy-scriptaculous-replacement/#comment-10296</guid>
		<description>@all:
Here is the remoteTime function.
You don't have to use anything special but jQuery it self.

It takes the same arguments as the original. Except 'position', and maybe something else.

Here is the code:
http://bin.cakephp.org/view/56397909

@author: Nice! Keep up the good work.</description>
		<content:encoded><![CDATA[<p>@all:<br />
Here is the remoteTime function.<br />
You don&#8217;t have to use anything special but jQuery it self.</p>
<p>It takes the same arguments as the original. Except &#8216;position&#8217;, and maybe something else.</p>
<p>Here is the code:<br />
<a href="http://bin.cakephp.org/view/56397909" rel="nofollow">http://bin.cakephp.org/view/56397909</a></p>
<p>@author: Nice! Keep up the good work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
