You're probably better off using this: http://api.cakephp.org/class_ajax_helper.html#e9b39f961e4c9fd0c8a09b41532b6125
For the $href parameter (the URL), it should be in the form of "/controller/action/parameter", for example "/tasks/edit/1" assumes that you have a TasksController with an edit( ) action, which takes one parameter (usually a record id). Based on the code above, I would not really recommend this tutorial for beginners, as there are many much easier ways to do Ajax in Cake, with much less code. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
