You can generate the correct url using the Html->url helper in the view. jQuery has .change (http://api.jquery.com/change/) and then you are also using $.ajax
I don't recommend using ajax helpers unless it's a repetitive, fairly simple thing to do like links. Just write in raw javascript/jquery. Debugging is easier, the examples for plugins work in a copy paste way, and you get moving faster.
-- On 28 March 2012 12:09, alexkd <amstin.study@gmail.com> wrote:
Although a lot of discussions can be found in this group . A beginner
not able to understand how to implement ajax in project. And also cake
php.org says Ajaxhelper is deprecated. I dont understand which is the
new usage
I am using 1.3 cakephp my problem is how to replace my calc div with
calculated fee amount when the patients select box is selected?
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment