OK I try this 2011/7/14 Phang Mulianto <braveh...@gmail.com>: > Cake use with ajax is simplify your code writing.. > > you just spit it up with $html->ajax(url, response, anything) > > You don't need to write the ajax command all the way...to many typing for > doing ajax manually.. and if you need to learn it, just use php code > alone..don't make things complicated... > > > On Thu, Jul 14, 2011 at 7:29 PM, taqman filler <taqman...@gmail.com> wrote: >> >> in code I use variable to receive data from ajax file correct or not >> I made a mistake here >> >> 2011/7/14 Jens Dittrich <jdittr...@gmail.com> >> > >> > The concept is easy. Create a request Object fill it with data and send >> > it to the server, then wait. Maybe you get an answer maybe you won't. Write >> > handlers for all possible outcomes like success, failure, server messages >> > and no answer at all and handle the eventually received information. >> > If you want to see what is going on then use Firebug for Firefox or >> > Chrome developer tools in chrome. There is also some tooling available in >> > IE9. >> > However, the concept of AJAX has nothing to do with CakePHP, it is >> > always the same. >> > >> > -- >> > 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+unsubscr...@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+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php