Try specify the url directly:

"url" => "/comments/add"

You should also specify what model you are submitting to:

"model" => "Comment"

//mathias

2009/2/19 yankeyhotel <[email protected]>:
>
>
> has anyone figured out this problem. I am also reading through Apress
> Beginning CakePHP and having the same problem. any help on the example in
> the book would be awesome.
>
> thanks
> --
> View this message in context: 
> http://www.nabble.com/Submitting-a-form-with-ajax-using-a-diffrent-controller-tp20957512p22094274.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to