I'm playing with ajax. I have a controller called addresses, with
functions index and show.
When index loads, it has a link like this:
<?php echo $ajax->link($showName,
'/addresses/show/'.$showName.'/'.$realName.'', array('update' =>
'campus')); ?>
When I click on the link, I want my campus div to be updated with
information from my show function. Instead, my entire page reloads
with only the info from show().
I'm at a loss. Can anybody help?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---