Well the first thing that seems wrong is your vote method is setting
ajaxVote to 555 no matter what. Maybe you want to set that to the
passed value instead...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP
Hi,
Boy, I'm having trouble getting the run down on how to do AJAX in Cake
1.2.
I want to do something very simple. Display a value of "123" in a
view, and when the user clicks a link have it call a controller, and
update that value to "555". A very simple AJAX request.
In my controller I have